🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9878

Re: nn-6.6.0 now available

#9878
From: Neil W Rickert
Date: Tue, 25 Sep 2001 13:54
50 lines
3187 bytes
Michael T Pins <mtpins@nndev.org> writes:
>Casper.Dik@Holland.Sun.Com (Casper H.S. Dik - Network Security Engineer) writes:
>>Michael T Pins <mtpins@nndev.org> writes:

>>>>Yep, that's right.  Apparently the gcc-3.01 preprocessor is expanding
>>>>tabs into spaces, and that breaks your method of generating
>>>>ymakefile.

>>>Bug in gcc.  Complain to the gcc maintainers.

>>No, it isn't.  "cpp" tokenizes and is allowed to add/convert whatever
>>whitespace, regardless of the original source code, provided its output
>>is tokenized correctly by the next pass.  (Sun's compiler got similar
>>complains years ago because it didn't allow old-style token pasting in
>>the default mode; fact is, old-style token pasting isn't allowed in ANSI C.

>>"cpp/gcc -E" is a "C" pre-processor, it's fitness for other purposes is
>>not guaranteed.

>True, however -

>This is known to work in the following compilers:
>the compiler shipped with SunOS 3.x
>the compiler shipped with SunOS 4.x
>Sun WorkShop Compiler (at least through 5.0, I haven't tested any later)
>the compiler that ships with HP-UX
>the compiler HP sells
>the compiler that ships with OSF/1
>the compiler DEC sells for DEC Unix
>the compiler that shipped with Ultrix
>the compiler IBM sells for AIX
>the compiler that shipped with UMAX43
>the compiler that Apollo sold for Domain/OS
>every version of gcc through at least 2.8.1

It also works with gcc-2.95

>It breaks under:
>gcc 3.x

Right.  It's damned annoying that the gcc folk would change this.

>In other words, it works under all the score+ of compilers I've used over
>the years, from back before ANSI C, through today.  The *only* compiler
>I've ever heard of that breaks this is gcc 3.x.  It's a gcc bug.

Still, I agree with Casper that, technically, it is not a gcc bug --
just an annoying change in behavior.

Technical Details
Message-ID: <Q00s7.2403$7g6.1081515@newssrv26.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssrv26.news.prodigy.com.POSTED!not-for-mail
References: <9ommth$jsi$1@new-usenet.uk.sun.com> <UWUr7.27679$x84.7737727@ruti.visi.com>

Show Full Headers
Complete Article Headers
Message-ID: <Q00s7.2403$7g6.1081515@newssrv26.news.prodigy.com>
Subject: Re: nn-6.6.0 now available
Date: Tue, 25 Sep 2001 13:54:56 GMT
From: Neil W Rickert <rickert+nn@cs.niu.edu>
References: <9ommth$jsi$1@new-usenet.uk.sun.com> <UWUr7.27679$x84.7737727@ruti.visi.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssrv26.news.prodigy.com.POSTED!not-for-mail
Newsgroups: news.software.nn
User-Agent: nn/6.6.0
Lines: 49
NNTP-Posting-Host: 65.42.129.119
X-Complaints-To: abuse@prodigy.net
X-Trace: newssrv26.news.prodigy.com 1001426096 ST000 65.42.129.119 (Tue, 25 Sep 2001 08:54:56 CDT)
NNTP-Posting-Date: Tue, 25 Sep 2001 08:54:56 CDT
Organization: Prodigy Internet http://www.prodigy.com
X-UserInfo1: Q[R_PJSCTS@OB_LXMZINO_DBUC\\@G@OKPQL_DILJZ]BGIELYFWUQBKZQLYJX\_ITFD_KFVLUN[DOM_A_NSYNWPFWNS[XV\I]PZ@BQ[@CDQDPCL^FKCBIPC@KLGEZEFNMDYMKHRL_YYYGDSSODXYN@[\BK[LVTWI@AXGQCOA_SAH@TPD^\AL\RLGRFWEARBM