From: Peter Gerwinski Newsgroups: comp.os.msdos.djgpp Subject: Re: _PASCAL in DJGPP Date: 31 Aug 1997 22:25:02 GMT Organization: Universitaet Essen GH, Germany Lines: 18 Message-ID: <5ucqvu$5ce1@mx2.hrz.uni-essen.de> References: <01bcb3ed$03096660$4ac057c0 AT johan> NNTP-Posting-Host: agnes.Dida.Physik.Uni-Essen.DE To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk J. van der Laan wrote: > Does anyone know how to implement an _PASCAL calling convention in DJGPP? void foo ( int bar ) __attribute__ (( stdcall )); Yes, with double parentheses. See also info -f gcc -n "Function Attributes" Hope this helps, Peter Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter DOT gerwinski AT uni-essen DOT de - http://home.pages.de/~peter.gerwinski/ [970201] maintainer GNU Pascal [970714] - http://home.pages.de/~gnu-pascal/ [970125]