🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.ubuntu
Article #111

Re: where to put custom headers

#111
From: J G Miller
Date: Wed, 27 Jan 2010 15:26
26 lines
2039 bytes
On Tue, 26 Jan 2010 21:38:20 -0700, Frank asked:

> I'm not sure where I picked up -Wall and -Wextra.
> Are they both still useful?

They can be useful whereas other people think they are a nuisance
and just fill the screen with warning messages

These warnings are due to the developer of the source code being lazy
and not adhering to strict C programming standards, and in many cases
not using "casts" to weasel their way out of conversion from one type to 
another because of the type required by a library function.

  man gcc

  -Wall
           This enables all the warnings about constructions that some 
           users consider questionable, and that are easy to avoid (or
           modify to prevent the warning), even in conjunction with 
           macros.

 -Wextra
           This enables some extra warning flags that are not enabled by
           -Wall.

           [see the list in the manual page]
Technical Details
Message-ID: <1264605983_35@vo.lu>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eweka.nl!lightspeed.eweka.nl!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.vo.lu!not-for-mail
References: <7ror8bFjn6U1@mid.individual.net> <4b578c9a$0$18138$a9266ab1@news.buzzardnews.com> <7rshd7Fa3vU1@mid.individual.net> <hjbk9j$s2d$1@speranza.aioe.org> <7s9u9uF6kkU1@mid.individual.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1200bcf240,4af9266eb6a90621
X-Google-Attributes: gid1200bcf240,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Subject: Re: where to put custom headers
From: J G Miller <miller@yoyo.ORG>
Date: Wed, 27 Jan 2010 16:26:23 +0100
Message-ID: <1264605983_35@vo.lu>
References: <7ror8bFjn6U1@mid.individual.net>
 <4b578c9a$0$18138$a9266ab1@news.buzzardnews.com>
 <7rshd7Fa3vU1@mid.individual.net> <hjbk9j$s2d$1@speranza.aioe.org>
 <7s9u9uF6kkU1@mid.individual.net>
Lines: 40
NNTP-Posting-Host: 87.240.207.60
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eweka.nl!lightspeed.eweka.nl!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.vo.lu!not-for-mail
Newsgroups: alt.os.linux.ubuntu,gnu.gcc.help
X-Trace: vo.lu 1264605983 87.240.207.60 (27 Jan 2010 16:26:23 0100)
User-Agent: Pan/0.133 (House of Butterflies)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit