From: Jack Klein Newsgroups: comp.os.msdos.djgpp Subject: Re: __pascal doesn't exist Message-ID: <6sdeotk680nc9e1n2vbphi6vf3npdih7jo@4ax.com> References: <9m6gdj$kie$06$1 AT news DOT t-online DOT com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 26 Date: Sat, 25 Aug 2001 05:28:14 GMT NNTP-Posting-Host: 12.84.13.66 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc06-news.ops.worldnet.att.net 998717294 12.84.13.66 (Sat, 25 Aug 2001 05:28:14 GMT) NNTP-Posting-Date: Sat, 25 Aug 2001 05:28:14 GMT Organization: AT&T Worldnet To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Fri, 24 Aug 2001 23:18:51 +0200, "Benjamin Killer" wrote in comp.os.msdos.djgpp: > I tried doing the following in DJGPP C: > > int __pascal test(int param1) { > } > > but this doesn't work: > > : parse error before `test' > > How could I do this manualy without using compiler switches ? > > benjamin Get rid of the __pascal, it is not part of either C or C++ and it is not needed in DJGPP programs. -- Jack Klein Home: http://JK-Technology.Com FAQs for comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html comp.lang.c++ http://www.parashift.com/c++-faq-lite/ alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq