🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5606

Re: #pragma

#5606
From: Walter Murray
Date: Tue, 17 Jan 1989 18:52
20 lines
1132 bytes
Steve Summit writes:

> I believe that #pragmas may have been exhaustively discussed in
> this group a year or so ago when I wasn't following it.

I'm in the same boat.  Maybe it's time for someone to post a summary/update
on the #pragma question.

I have two questions, both of which were probably already addressed.

1.  A #pragma causes an implementation to behave in an implementation-defined
    manner.  Could that include, for example, following unsigned-preserving
    promotion rules, or must the behavior still be ANSI?

2.  A strictly conforming program shall not produce output dependent on
    any implementation-defined behavior.  Does it follow that a strictly
    conforming program shall not use a #pragma?

Walter Murray
----------
Technical Details
Message-ID: <12570002@hpclwjm.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hpda!hpcuhb!hpcllla!hpclisp!hpclwjm!walter
References: <8770@bloom-beacon.MIT.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hpda!hpcuhb!hpcllla!hpclisp!hpclwjm!walter
From: walter@hpclwjm.HP.COM (Walter Murray)
Newsgroups: comp.std.c
Subject: Re: #pragma
Message-ID: <12570002@hpclwjm.HP.COM>
Date: 17 Jan 89 18:52:16 GMT
References: <8770@bloom-beacon.MIT.EDU>
Organization: Hewlett-Packard Calif. Language Lab
Lines: 20