Date: Sat, 25 Aug 2001 10:29:47 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Benjamin Killer" Message-Id: <9003-Sat25Aug2001102946+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <9m6gdj$kie$06$1@news.t-online.com> (bkausbk@web.de) Subject: Re: __pascal doesn't exist References: <9m6gdj$kie$06$1 AT news DOT t-online DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Benjamin Killer" > Newsgroups: comp.os.msdos.djgpp > Date: Fri, 24 Aug 2001 23:18:51 +0200 > > I tried doing the following in DJGPP C: > > int __pascal test(int param1) { > } > > but this doesn't work: > > : parse error before `test' Do you really need to compile a function with Pascal argument-passing conventions? Why do you need that? GCC doesn't support Pascal functions. There's a similar but not identical feature whereby you can declare a function __attribute__((stdcall)); read all about it in the GCC manual.