Re: Function attributes and x32, x64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 1 Feb 2020 at 11:07, Edward Diener
<eldlistmailingz@xxxxxxxxxxxxxx> wrote:
>
> Given the code:
>
> class cbase;
> int main()
>      {
>      typedef int __attribute__ ((__stdcall__)) (cbase::* atype)();
>      typedef int __attribute__ ((__cdecl__)) (cbase::* btype)();
>      typedef int __attribute__ ((__fastcall__)) (cbase::* ctype)();
>      typedef int __attribute__ ((__thiscall__)) (cbase::* dtype)();
>      return 0;
>      }
>
>
> If I compile this for x64 (-m64) in gcc-9.2 I receive no errors or

Aside: Please don't misuse the term "x32" (which means something
different here), and avoid the dumb "x64" term (which is a
Windows-ism).



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux