Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Compiler
Delphi
Anonymous Methods
BASM
Code Generation/Optimization
Error Recovery
Errors - Warnings
Exceptions
Execution
Finalization
Generics
Header Generation
Interaction with UI
Interfaces
Language
Linker
Make Logic
Memory Manager
OBJ Generation
OBJ Support
Other Compiler
Packages
RTTI
String Resources
TD Debug Info
Thread Local Storage
Version resilience
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Compiler/Delphi/Errors - Warnings
[ Add a report in this area ]
Report #:
102028
Status:
Closed
Same warning repeated several times
Project:
Delphi
Build #:
16.0.4358.4554
Version:
16.3
Submitted By:
David Tetard
Report Type:
Minor failure / Design problem
Date Reported:
12/22/2011 6:39:39 AM
Severity:
Commonly encountered problem
Last Updated:
1/10/2013 5:17:20 PM
Platform:
All versions
Internal Tracking #:
27160
Resolution:
Cannot Reproduce
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
It appears that some warning are repeated several times when compiling (in one instance, I had each warning 3 times!). Interestingly, it would seem that the warning are all for deprecated code related to themes.
The incriminated code was:
If ThemeServices.ThemesEnabled Then
I wondered if I had 1 warning for "ThemeServices" and 1 warning for "ThemesEnabled", but in this case, the second warning's text is quite wrong as it shouldn't be about "ThemeServices".
See a copy of the warning list, notice that the same warning is repeated twice:
Checking project dependencies...
Compiling Ulysses.dproj (Debug, Win32)
[DCC Warning] DTImageButton.pas(527): W1000 Symbol 'ThemeServices' is deprecated: 'Use StyleServices'
[DCC Warning] DTImageButton.pas(527): W1000 Symbol 'ThemeServices' is deprecated: 'Use StyleServices'
[DCC Warning] DTImageButton.pas(529): W1000 Symbol 'ThemeServices' is deprecated: 'Use StyleServices'
[DCC Warning] DTImageButton.pas(529): W1000 Symbol 'ThemeServices' is deprecated: 'Use StyleServices'
[DCC Warning] DTImageButton.pas(532): W1000 Symbol 'ThemeServices' is deprecated: 'Use StyleServices'
[DCC Warning] DTImageButton.pas(532): W1000 Symbol 'ThemeServices' is deprecated: 'Use StyleServices'
[DCC Warning] DTImageButton.pas(534): W1000 Symbol 'ThemeServices' is deprecated: 'Use StyleServices'
[DCC Warning] DTImageButton.pas(534): W1000 Symbol 'ThemeServices' is deprecated: 'Use StyleServices'
[DCC Warning] DTImageButton.pas(534): W1000 Symbol 'ContentRect' is deprecated: 'Use GetElementContentRect'
[DCC Error] Main.pas(2020): E2004 Identifier redeclared: 'UlyssesSoftwareLicense'
[DCC Fatal Error] Main.pas(2022): F2063 Could not compile used unit 'UlyssesCOMUtils.pas'
Failed
Elapsed time: 00:00:02.3
Steps to Reproduce:
None
Workarounds
None
Attachment
None
Comments
Tomohiro Takahashi at 1/9/2013 9:59:32 PM
-
I will check why this report was marked as 'Cannot Reproduce'...
Tomohiro Takahashi at 1/10/2013 5:17:27 PM
-
This is a comment from internal tracking system.
<<<<<<<<
How to reproduce on my machine? Is there small test case?
>>>>>>>>
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us