delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/25/01:31:18

From: Jack Klein <jackklein AT spamcop DOT net>
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
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" <bkausbk AT web DOT de>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019