Compiling C++ for x86_64 and get warning: 'cdecl' attribute ignored
Hi,
I defined a type of the following form:
typedef void (*myFunc)(int, int) __attribute__((cdecl));
warning: 'cdecl' attribute ignored
When compiling on X86_64 using g++ 4.1.2
Can anyone please explain why am i getting this warning? Is it because cdecl calling convention is not supported on X86_64? If so, what is the calling convention which used?
TIA
|