Mail Archives: djgpp/2001/02/01/12:31:57
On Thu, 1 Feb 2001, Hans-Bernhard Broeker wrote:
> > And add -Werror for a good measure ;-)
>
> I'd rather not. With this combination of -W flags, it's *extremely* hard
> to get by without a single warning. Adding -Werror, here, would over-do
> it.
We are not compiling, remember? We are using GCC as a replacement for
Lint. So it is okay if it doesn't compile; we can remove -Werror later,
if we want to get an executable anyway.
In addition, when you compile several files in one go (e.g., from a
Makefile), -Werror will stop the compilation after the first file which
triggered any messages. This makes it easier to fix problems one file at
a time.
- Raw text -