Watch, Follow, &
Connect with Us
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?
>>>>>>>>

Server Response from: ETNACODE01