Hi,

I'm testing trunk MinGW-w64 and GCC trunk, and running into this issue
compiling my personal project:
In file included from
m:\development\mingw64\lib\gcc\x86_64-w64-mingw32\4.8.0\include\x86intrin.h:27:0,
                 from
m:\development\mingw64\include\c++\4.8.0\bits\opt_random.h:33,
                 from m:\development\mingw64\include\c++\4.8.0\random:51,
                 from
m:\development\mingw64\include\c++\4.8.0\bits\stl_algo.h:67,
                 from m:\development\mingw64\include\c++\4.8.0\algorithm:63,
                 from
..\..\..\Source\Ambrosia\libAmbrosia\Include/Ambrosia/algorithm.h:33,
                 from
..\..\..\Source\Ambrosia\libAmbrosia\Source\Platform\windows.cpp:23:
m:\development\mingw64\lib\gcc\x86_64-w64-mingw32\4.8.0\include\ia32intrin.h:95:1:
error: previous declaration of 'long long unsigned int __rdtsc()' with
'C++' linkage
 __rdtsc (void)
 ^
In file included from
m:\development\mingw64\x86_64-w64-mingw32\include\winnt.h:1463:0,
                 from
m:\development\mingw64\x86_64-w64-mingw32\include\windef.h:139,
                 from
m:\development\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from
..\..\..\Source\Ambrosia\libAmbrosia\Source\Platform\windows.cpp:53:
m:\development\mingw64\x86_64-w64-mingw32\include\intrin.h:978:5: error:
conflicts with new declaration with 'C' linkage
     __MACHINEI(__MINGW_EXTENSION unsigned __int64 __rdtsc(void))
     ^
In file included from
m:\development\mingw64\lib\gcc\x86_64-w64-mingw32\4.8.0\include\x86intrin.h:27:0,
                 from
m:\development\mingw64\include\c++\4.8.0\bits\opt_random.h:33,
                 from m:\development\mingw64\include\c++\4.8.0\random:51,
                 from
m:\development\mingw64\include\c++\4.8.0\bits\stl_algo.h:67,
                 from m:\development\mingw64\include\c++\4.8.0\algorithm:63,
                 from
..\..\..\Source\Ambrosia\libAmbrosia\Include/Ambrosia/algorithm.h:33,
                 from
..\..\..\Source\Ambrosia\libAmbrosia\Source\Platform\windows.cpp:23:
m:\development\mingw64\lib\gcc\x86_64-w64-mingw32\4.8.0\include\ia32intrin.h:210:1:
error: previous declaration of 'long long unsigned int __rolq(long long
unsigned int, int)' with 'C++' linkage
 __rolq (unsigned long long __X, int __C)
 ^
In file included from
m:\development\mingw64\x86_64-w64-mingw32\include\winnt.h:1463:0,
                 from
m:\development\mingw64\x86_64-w64-mingw32\include\windef.h:139,
                 from
m:\development\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from
..\..\..\Source\Ambrosia\libAmbrosia\Source\Platform\windows.cpp:53:
m:\development\mingw64\x86_64-w64-mingw32\include\intrin.h:1046:5: error:
conflicts with new declaration with 'C' linkage
     __MACHINE(__MINGW_EXTENSION unsigned __int64 __cdecl _rotl64(unsigned
__int64,int))
     ^
In file included from
m:\development\mingw64\lib\gcc\x86_64-w64-mingw32\4.8.0\include\x86intrin.h:27:0,
                 from
m:\development\mingw64\include\c++\4.8.0\bits\opt_random.h:33,
                 from m:\development\mingw64\include\c++\4.8.0\random:51,
                 from
m:\development\mingw64\include\c++\4.8.0\bits\stl_algo.h:67,
                 from m:\development\mingw64\include\c++\4.8.0\algorithm:63,
                 from
..\..\..\Source\Ambrosia\libAmbrosia\Include/Ambrosia/algorithm.h:33,
                 from
..\..\..\Source\Ambrosia\libAmbrosia\Source\Platform\windows.cpp:23:
m:\development\mingw64\lib\gcc\x86_64-w64-mingw32\4.8.0\include\ia32intrin.h:218:1:
error: previous declaration of 'long long unsigned int __rorq(long long
unsigned int, int)' with 'C++' linkage
 __rorq (unsigned long long __X, int __C)
 ^
In file included from
m:\development\mingw64\x86_64-w64-mingw32\include\winnt.h:1463:0,
                 from
m:\development\mingw64\x86_64-w64-mingw32\include\windef.h:139,
                 from
m:\development\mingw64\x86_64-w64-mingw32\include\windows.h:69,
                 from
..\..\..\Source\Ambrosia\libAmbrosia\Source\Platform\windows.cpp:53:
m:\development\mingw64\x86_64-w64-mingw32\include\intrin.h:1047:5: error:
conflicts with new declaration with 'C' linkage
     __MACHINE(__MINGW_EXTENSION unsigned __int64 __cdecl _rotr64(unsigned
__int64,int))
     ^

There are no direct includes of windows.h in my code at that point.

Please fix so I can upload a GCC 4.8 prerelease build :)

Thank you!

Ruben
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to