This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Always compile with -Wall
- To: meissner at cygnus dot com
- Subject: Re: Always compile with -Wall
- From: Erik Mouw <J dot A dot K dot Mouw at its dot tudelft dot nl>
- Date: Thu, 4 Nov 99 10:00:47 +0100
- Cc: rth at cygnus dot com, gcc at gcc dot gnu dot org
- Organization: Eric conspiracy secret labs
On Wed, 03 Nov 1999 23:29:13 -0500, Michael Meissner wrote:
> On Wed, Nov 03, 1999 at 12:56:40PM -0800, Richard Henderson wrote:
>> On Wed, Nov 03, 1999 at 09:33:00PM +0100, Erik Mouw wrote:
>> > I think putting it in the specs file is the right way to do it, but
>> > I'm not sure where to put it.
>>
>> *cc1:
>> <some existing text> -Wall
>
> Note, if you are going to edit the specs file, don't delete the empty blank
> line at the end of the file!
I know, I already found it out the hard way in the days of gcc 2.8.0: I
disabled the 'multiple weak symbol' warning issued by the IRIX6 linker by
replacing '-woff 131' with '-woff 131,134' (this isn't neccessary anymore
with gcc 2.95.2). I used GNU Emacs to edit the specs file, but GNU Emacs
has the bug/feature to add empty lines at the end of a file when you press
the down button (XEmacs doesn't have this behaviour). So I removed all
empty lines...
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2785859 Fax: +31-15-2781843 Email J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/