🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13083

Re: __chip keyword is evil (was Re: Lattice bugs still?)

#13083
From: Miles Bader
Date: Thu, 21 Dec 1989 04:29
15 lines
1316 bytes
I was under the impression that #pragma directives as defined by ANSI were
NOT allowed to be used for anything that changed the meaning of the program.
I.e., it has to work the same if the compiler ignores all #pragmas (if
perhaps less quickly, etc).

None of the lattice extensions (__chip, __asm, etc), seem to fit that
definition, so it would seem that you couldn't legally use #pragma to
implement them.  If something needs to be in chip memory, you can't just not
put it there!

Note that the lattice system call hack #pragmas ARE legal, since if you
ignore them, the program just ends up using the library stub instead--
slower, but with the same result.

-Miles
Technical Details
Message-ID: <8ZY5kIe00Uka80f8BL@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!bader+
References: <10415@etana.tut.fi> <9532@microsoft.UUCP> <411@enuxha.eas.asu.edu> <3756@quanta.eng.ohio-state.edu>, <10011@microsoft.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!bader+
From: bader+@andrew.cmu.edu (Miles Bader)
Newsgroups: comp.sys.amiga.tech,comp.sys.amiga
Subject: Re: __chip keyword is evil (was Re: Lattice bugs still?)
Message-ID: <8ZY5kIe00Uka80f8BL@andrew.cmu.edu>
Date: 21 Dec 89 04:29:08 GMT
References: <10415@etana.tut.fi> <9532@microsoft.UUCP> <411@enuxha.eas.asu.edu> <3756@quanta.eng.ohio-state.edu>,
 <10011@microsoft.UUCP>
Organization: Information Technology Center, Carnegie Mellon, Pittsburgh, PA
Lines: 15
In-Reply-To: <10011@microsoft.UUCP>