Re: [Mingw-w64-public] _W64 defined for 32 bits target?

2014-10-13 Thread Óscar Fuentes
Jacek Caban writes: [snip] Thanks Jacek for the swift response. -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-

Re: [Mingw-w64-public] _W64 defined for 32 bits target?

2014-10-13 Thread Jacek Caban
On 10/13/14 13:02, Óscar Fuentes wrote: > Some developers have been trapped by assuming that _W64 indicates a > Windows 64 bits target. But it is defined for 32 bits too: > > #include > #ifdef _W64 > int w64 = 0; > #endif > #ifdef _WIN64 > int win64 = 0; > #endif > > > The prepocessed output ends

[Mingw-w64-public] _W64 defined for 32 bits target?

2014-10-13 Thread Óscar Fuentes
Some developers have been trapped by assuming that _W64 indicates a Windows 64 bits target. But it is defined for 32 bits too: #include #ifdef _W64 int w64 = 0; #endif #ifdef _WIN64 int win64 = 0; #endif The prepocessed output ends with int w64 = 0; This is with $ gcc -v Using built-in spec