🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #6184

Re: __chip is evil

#6184
From: Doug Gwyn
Date: Fri, 12 Jan 1990 20:27
19 lines
1380 bytes
In article <4919@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes:
>[ to comp.std.c folks: the discussion is the use of __id for nonportable
>  qualifiers in declarations, like Microsoft does with __far. ]

That's not only a proper use of __*, but the recommended one.

>> >On the other hand #pragma is not allowed to change the semantics of a
>> >program.
>> I'm sorry, but I can't find this in the standard.  Can you direct me to 
>> the appropriate paragraph?
>Anyone in comp.std.c want to take a crack at it?

My argument is that the entire Standard must be conformed to, whether or
not an application happens to actually use #pragma, thus #pragma cannot
change the semantics that rest of the Standard specifies.

However, opinion on this does not appear to be unanimous even among
X3J11 members.  This is another area where a formal interpretation
ruling would be nice.
Technical Details
Message-ID: <11939@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mailrus!uflorida!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn
References: <85006@linus.UUCP> <4839@sugar.hackercorp.com> <86113@linus.UUCP> <4919@sugar.hackercorp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mailrus!uflorida!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: __chip is evil
Message-ID: <11939@smoke.BRL.MIL>
Date: 12 Jan 90 20:27:23 GMT
References: <85006@linus.UUCP> <4839@sugar.hackercorp.com> <86113@linus.UUCP> <4919@sugar.hackercorp.com>
Reply-To: gwyn@brl.arpa (Doug Gwyn)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 19