Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-11 Thread Luiz Americo Pereira Camara
Alexander Klenin escreveu: 2009/4/9 Mattias Gärtner nc-gaert...@netcologne.de: As I already written some time ago, the solution is to introduce a hint/warning for the circular dependencies in implementation sections. This hint should probably be disabled by default, for compatibility

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-11 Thread Paul Ishenin
Luiz Americo Pereira Camara wrote: Are you aware that fpc trunk already implemented an option to disable hints? See: http://bugs.freepascal.org/view.php?id=8690 Lazarus trunk also has this options. Best regards, Paul Ishenin. ___ Lazarus mailing

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-11 Thread Alexander Klenin
On Sat, Apr 11, 2009 at 22:39, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: Alexander Klenin escreveu: OTOH, the hint is not _entirely_ useless and can in some rare cases point to a real bugs. The solution is to enable per-variable hint suppression. It is done in C/C++ by omitting

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-11 Thread Luiz Americo Pereira Camara
Alexander Klenin escreveu: On Sat, Apr 11, 2009 at 22:39, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: Alexander Klenin escreveu: OTOH, the hint is not _entirely_ useless and can in some rare cases point to a real bugs. The solution is to enable per-variable hint

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-10 Thread JoshyFun
Hello Christian, Friday, April 10, 2009, 1:20:43 AM, you wrote: CI That's really 2 statements: CI A) There should be a way to tell the compiler that the hint is expected CI Well, I can't see why this is a given. By definition, hints are things CI that _can_ be potentially dangerous, but it's

[Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-09 Thread Alexander Klenin
2009/4/9 Mattias Gärtner nc-gaert...@netcologne.de: As I already written some time ago, the solution is to introduce a hint/warning for the circular dependencies in implementation sections. This hint should probably be disabled by default, for compatibility reasons. Yes, a hint would be nice.

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-09 Thread Mattias Gärtner
Zitat von Alexander Klenin kle...@gmail.com: 2009/4/9 Mattias Gärtner nc-gaert...@netcologne.de: As I already written some time ago, the solution is to introduce a hint/warning for the circular dependencies in implementation sections. This hint should probably be disabled by default, for

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-09 Thread Christian Iversen
Alexander Klenin wrote: [...] 2) The compiler produces _many_ extraneous hints, which is very harmful -- it is impossible to produce hints-free code, so new hints has much more chances to go unnoticed. While I agree in principle that extra verbosity is a source of bugs, the hint

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-09 Thread JoshyFun
Hello Christian, Thursday, April 9, 2009, 7:13:06 PM, you wrote: CI Hint: Something that can't be ruled out as dangerous, but might just be. CI For practical reasons, this category can't be merged with warnings, CI because that would then produce so many warnings that the only useful CI error

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-09 Thread Christian Iversen
JoshyFun wrote: Hello Christian, Thursday, April 9, 2009, 7:13:06 PM, you wrote: CI Hint: Something that can't be ruled out as dangerous, but might just be. CI For practical reasons, this category can't be merged with warnings, CI because that would then produce so many warnings that the