[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] gcc options for testing dist?

From: Paul Eggert
Subject: Re: [Bug-gnulib] gcc options for testing dist?
Date: Sat, 27 Mar 2004 21:25:34 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

address@hidden (Karl Berry) writes:

> Is -ansi the right thing?

Not in my experience.  Unfortunately there's no single right answer to
your question.

What I do (when I have the time) is to build with both GCC and with a
non-GCC compiler; I use Sun's.

> errors, my notes have -Wshadow -Wimplicit-int -Wformat-security
> -fno-common, aside from -Wall.  I'm not worried about those.)

-Wall implies -Wimplicit-int and -Wformat-security these days, no?

I'd also add look into these:



If you're feeling really pedantic, you might add these:

   -pedantic -Wno-long-long

reply via email to

[Prev in Thread] Current Thread [Next in Thread]