Problem with calling conventions.

Mansoor Peerbhoy mansoor@cybermedia.co.in
Fri Dec 24 03:44:00 GMT 1999


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



More information about the Gcc mailing list