We work on the basis that all of our code should be completely hint and warning free. There are a few warnings/hints in 3rd party components but it's fairly obvious that they aren't our units and they only appear on a full build.
David. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Stacey Verner > Sent: Tuesday, 1 June 2004 10:44 AM > To: [EMAIL PROTECTED]; NZ Borland Developers Group - Delphi List > Subject: RE: [DUG] Weird Delphi Warning > > > There is a tool for Delphi 6 that allows you to turn platform etc. hints > on and off. > Probably something similar for other Delphi versions as well. > > Note: All people who use the project must have the tool or the options > will be reset!!! > > http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=17654 > > Stacey > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Leigh Wanstead > > Sent: Tuesday, 1 June 2004 9:20 > > To: NZ Borland Developers Group - Delphi List > > Subject: RE: [DUG] Weird Delphi Warning > > > > > > Hi Conor, > > > > I agree with you. > > > > But I got 27 warnings and 3 hints most in classes.pas, > > ComCtrls.pas, StdCtrls.pas, DateUtils.pas, ComObj.pas and > > FlashFiler and JCL package. > > > > I don't like it and I can't do anything about it. > > > > Regards > > Leigh > > http://www.salenz.com > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of > > [EMAIL PROTECTED] > > Sent: Tuesday, June 01, 2004 8:53 AM > > To: [EMAIL PROTECTED] > > Subject: RE: [DUG] Weird Delphi Warning > > > > > > If you don't do it already, you can use {$HINTS ON|OFF} or {$WARNINGS > > ON|OFF} in your code to explicitly prevent a particular code warning > > from appearing in the list. > > > > I'm just much happier seeing a message saying 0 Hints, 0 > > Warnings, rather than always expecting to see a list of > > warnings even if I ignore them. > > > > If the list remains, it's too easy to miss a new warning that > > could be more significant, IMHO. > > > > I'll stick my neck out further and say I still believe it is > > possible to code so that no warnings/hints are raised, even > > if it doesn't look like the most obvious way to write it. To > > me, having a 100% clean compile is preferable. > > > > Cheers, > > > > Conor > > > > -----Original Message----- > > From: David O'Brien [mailto:[EMAIL PROTECTED] > > > > Just ignore that particular warning, as I can't see any > > reason for it. As I say, almost identical code (i.e. Result > > defined similarly) doesn't produce the warning. I never allow > > other hints or warnings to remain. Just that one makes no > > sense and seems random. > > > > Dave. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > On Behalf Of > > [EMAIL PROTECTED] > > > > Do you explicitly ignore that specific warning or just ignore > > the compiler warning list? > > > > We won't let our developers check in code with hints or warnings... > > > > _______________________________________________ > > Delphi mailing list > > [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi > > > > > > _______________________________________________ > > Delphi mailing list > > [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi > > > > _______________________________________________ > Delphi mailing list > [EMAIL PROTECTED] > http://ns3.123.co.nz/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
