How is the best way to handle the following warnings?... Indy 9 and Delphi
2007
> [DCC Warning] IdGlobal.pas(184): W1010 Method 'WaitFor' hides virtual
> method of base type 'THandleObject'
> [DCC Warning] IdStack.pas(263): H2443 Inline function 'AnsiSameText' has
> not been expanded because unit 'Windows' is not specified in USES list
> [DCC Warning] IdHTTPHeaderInfo.pas(139): H2365 Override method
> TIdRequestHeaderInfo.destroy should match case of ancestor
> TIdEntityHeaderInfo.Destroy
> [DCC Warning] IdCustomHTTPServer.pas(592): H2443 Inline function
> 'AnsiCompareText' has not been expanded because unit 'Windows' is not
> specified in USES list
> [DCC Warning] IdCustomHTTPServer.pas(602): H2443 Inline function
> 'AnsiSameText' has not been expanded because unit 'Windows' is not
> specified in USES list
> [DCC Warning] IdCustomHTTPServer.pas(1200): H2443 Inline function
> 'AnsiSameText' has not been expanded because unit 'Windows' is not
> specified in USES list
> [DCC Warning] IdCustomHTTPServer.pas(1200): H2443 Inline function
> 'AnsiSameText' has not been expanded because unit 'Windows' is not
> specified in USES list
The best thing is probably to ignore them. They're not in your code, and
they're not in an actively developed version of Indy.
>> [DCC Warning] IdGlobal.pas(184): W1010 Method 'WaitFor' hides virtual
>> method of base type 'THandleObject'
Add "reintroduce" to the declaration.
>> [DCC Warning] IdStack.pas(263): H2443 Inline function 'AnsiSameText' has
>> not been expanded because unit 'Windows' is not specified in USES list
Add Windows to the uses clause.
>> [DCC Warning] IdHTTPHeaderInfo.pas(139): H2365 Override method
>> TIdRequestHeaderInfo.destroy should match case of ancestor
>> TIdEntityHeaderInfo.Destroy
Capitalize Destroy.
>> [DCC Warning] IdCustomHTTPServer.pas(592): H2443 Inline function
>> 'AnsiCompareText' has not been expanded because unit 'Windows' is not
>> specified in USES list
>> [DCC Warning] IdCustomHTTPServer.pas(602): H2443 Inline function
>> 'AnsiSameText' has not been expanded because unit 'Windows' is not
>> specified in USES list
>> [DCC Warning] IdCustomHTTPServer.pas(1200): H2443 Inline function
>> 'AnsiSameText' has not been expanded because unit 'Windows' is not
>> specified in USES list
>> [DCC Warning] IdCustomHTTPServer.pas(1200): H2443 Inline function
>> 'AnsiSameText' has not been expanded because unit 'Windows' is not
>> specified in USES list
Op. cit.
--
Rob
> I posted in the Indy group but never got a response.
>
> How is the best way to handle the following warnings?... Indy 9 and
> Delphi 2007
Remove the path to the Indy source files from your library path or
project search path. You have no need to recompile these source files,
just make sure the path to the prebuild DCUs is part of the library
path.
--
Peter Below (TeamB)
Don't be a vampire (http://slash7.com/pages/vampires),
use the newsgroup archives :
http://www.tamaracka.com/search.htm
http://groups.google.com