delorie.com/archives/browse.cgi | search |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: attribute stdcall |
Date: | 26 Apr 2000 10:08:41 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 16 |
Message-ID: | <8e6f79$99u$1@nets3.rz.RWTH-Aachen.DE> |
References: | <8AyN4.3395$fv3 DOT 5373032 AT nnrp6 DOT proxad DOT net> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 956743721 9534 137.226.32.75 (26 Apr 2000 10:08:41 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 26 Apr 2000 10:08:41 GMT |
Originator: | broeker@ |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Alexandre Devaure <Alexandre DOT Devaure AT leroy-autom DOT com> wrote: > Has sombody ever had compilation problem with a function declared with the > attribute stdcall with gcc 2.95? I've never used anything of this, but from looking at the error messages you show, I'd try adding the __attribute((stdcall)) to the function implementation. That attribute becomes part of the 'type' of the function, so it's no big surprise that the compiler complains if the implementation doesn't use the exact same type as the prototype declaration. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |