This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problem with calling conventions.
- To: gcc at gcc dot gnu dot org
- Subject: Problem with calling conventions.
- From: Mansoor Peerbhoy <mansoor at cybermedia dot co dot in>
- Date: Fri, 24 Dec 1999 17:16:41 +0530 (IST)
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 ?
Any help will be appreciated.
Best regards,
Mansoor Peerbhoy