🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52781

Re: Adding a __NAME__ capabili

#52781
From: Kai Henningsen
Date: Tue, 19 May 1992 22:14
26 lines
1520 bytes
fr> Von : fred@cv.ruu.nl (Di, 19.05.92 09:59)
fr> Name: Fred Appelman
fr> Box : University of Utrecht, 3D Computer Vision Research Group
fr> MId : <1992May19.085902.23343@cv.ruu.nl>
fr> RId : <1992May18.132905.20357@crd.ge.com>

fr>> |> 1. This change in the compiler will make your software less portable. I
fr>> How so? What strictly conforming program would break??
fr>
fr> For example:   cout << __NAME__ would break.

"cout << __NAME__" wouldn't be in a strictly conforming program. Or to put it
another way, it would make a program not strictly conforming.

fr> Give an example of this. The extensions are in the library. Not in the
fr> language defintion.

assembler inlines, for example ...

fr> The idea aoub the -ansi flag is that given that a program compiles without
fr> errors, it is compilable with EVERY *ANSI* compiler. This is definitly not
fr> the case.

So what? Turn off __NAME__ iff -ansi. Or better, wait for -ansi -pedantic.

MfG Kai
Technical Details
Message-ID: <A40830@MS.maus.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!uniol!hb.maus.de!ms.maus.de!Kai_Henningsen
References: <A27600@HB.maus.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,18b9a676615573cd
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-05-19 17:41:38 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!uniol!hb.maus.de!ms.maus.de!Kai_Henningsen
From: Kai_Henningsen@ms.maus.de (Kai Henningsen)
Newsgroups: gnu.gcc.help
Subject: Re: Adding a __NAME__ capabili
Message-ID: <A40830@MS.maus.de>
Date: Tue, 19 May 92 22:14:00 GMT
References: <A27600@HB.maus.de>
Organization: MausNet
Lines: 26
X-Gateway: MausGate/News 1.06