Re: Flag -Wall in release?
David Malcolm <[email protected]> Mon, 27 Jun 2005 11:36:34 -0400
| Newsgroups | gmane.editors.conglomerate.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 2005-06-25 at 21:02 +0200, Mich=C3=A8le Garoche wrote: > Hi, >=20 > Would not the -Wall flag to GCC be removed in release? >=20 > In configure.in, there is: >=20 > BASE_CFLAGS=3D"$BASE_CFLAGS -Wall" >=20 > It makes the console flooded with messages. >=20 > I plan to remove it in the fink package, do you think it can do any =20 > harm? "-Wall" means "use all warnings" to the compiler. I've tried hard to make Conglomerate compile without warnings. The precise warnings generated will vary from compiler to compiler, and from environment to environment. It should be harmless to remove that option. However, sometimes this is useful - occasionally I've found bugs this way, when an alternate compiler complains about buggy code that my normal compiler was accepting happily. So I'd prefer to try to fix all of the warnings, assuming this is doable. So it would be helpful if you could capture the log of a full compile in your environment with -Wall (possibly by using the "script" command, if that's available on OS X), open a fresh bug to track this, and then attach the log to the bug (possibly compressed using gzip).=20 Thanks!