This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Always compile with -Wall


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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]