Article View: comp.sys.amiga.tech
Article #11851Re: Prototypes & the default promotions (was about the new RKM stuff..
From: Marco Papa
Date: Thu, 16 Mar 1989 08:12
Date: Thu, 16 Mar 1989 08:12
29 lines
2152 bytes
2152 bytes
In article <970@sas.UUCP| toebes@sas.UUCP (John Toebes) writes:
|In article <15802@oberon.USC.EDU| papa@pollux.usc.edu I write:
||[ stuff deleted]
||"argument promotion" be performed will still behave like K&R, UNLESS
||function prototypes have been added. MANX 5.0 (as well as Lattice 5.0)
| ????????????????????????
||library stubs will clearly be different from the current release.
^^^^^^^^^^^^^^^
|Perhaps I am missing something here, but since Lattice C V4.0, we have
|been supplying prototypes and #pragma statements for calling all the system
|functions. These work with both short integers and long integers as well
|as conforms to the current ANSI proposed standard.
Sorry, John. The "current release" referred ONLY to MANX, not to Lattice.
I am fully aware that right now Lattice is fully ANSI compliant and
therefore can avoid all the problems of argiument promotion. The phrase
should have been something like this:
" MANX 5.0 library stubs will clearly be different from the current MANX 3.6
release. Lattice C already supports function prototypes in their current
5.0 release".
I apologize for the confusion.
-- Marco Papa 'Doc'
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
uucp:...!pollux!papa BIX:papa ARPAnet:pollux!papa@oberon.usc.edu
"There's Alpha, Beta, Gamma and Diga!" -- Leo Schwab [quoting Rick Unland]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<15884@oberon.USC.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!oberon!pollux.usc.edu!papaReferences:
<8903111954.AA04828@jade.berkeley.edu> <15802@oberon.USC.EDU> <970@sas.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!oberon!pollux.usc.edu!papa From: papa@pollux.usc.edu (Marco Papa) Newsgroups: comp.sys.amiga.tech Subject: Re: Prototypes & the default promotions (was about the new RKM stuff.. Message-ID: <15884@oberon.USC.EDU> Date: 16 Mar 89 08:12:49 GMT References: <8903111954.AA04828@jade.berkeley.edu> <15802@oberon.USC.EDU> <970@sas.UUCP> Sender: news@oberon.USC.EDU Reply-To: papa@pollux.usc.edu (Marco Papa) Organization: Felsina Software, Los Angeles, CA Lines: 29