This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with calling conventions.
- To: gcc at gcc dot gnu dot org, mansoor at cybermedia dot co dot in
- Subject: Re: Problem with calling conventions.
- From: Michael Meissner <meissner at cygnus dot com>
- Date: Fri, 24 Dec 1999 09:28:03 -0500
| Hello, Unix Gurus,
| I have a problem. The following line of code gives me an error when
| compiled by a gcc2.95.2 compiler on AiX 4.3.2.
| int __cdecl foo ();
| I cannot even use __stdcall, for that matter.
| Can anyone please tell me how to specify the calling convention while
| declaring a function ?
Those are Windows specific. AIX only supports one ABI, so there is no need to
have keywords to use an alternate ABi.
--
Michael Meissner, Cygnus Solutions
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886
email: meissner@cygnus.com phone: 978-486-9304 fax: 978-692-4482