Hi dw,
THanks for your reply...
> The error message doesn't seem to be complaining because they are >
declared "again." Having 2 prototypes for the same function is not >
necessarily a problem. As long as they are the same. This message >
seems to be saying that the definitions are different.
correct, I didn't write it properly in the previous message
> Since you say the definitions are in intrin and winbase (instead of >
intrin-impl.h), you are not using a real recent build of mingw-w64. Can
> you post the two conflicting lines? Perhaps I'll be able to offer a
clue. > At a guess, there's some type of issue with long vs long32. Is >
sizeof(long) 32 or 64? > It might also be worth looking at the -E
output. Perhaps you are > grabbing intrin.h and winbase.h from different
mingw-w64 builds? As I noted in previous message, I was using the latest
64-bit build from TDM-GCC redistribution.
(direct link for download:
http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm64-gcc-4.7.1-3.exe/download)
And it looks this build has probably some issues with the headers (as
you said most probably not up-to-date versions).
So I grabbed different build from here:
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/rubenvb/gcc-4.7-release/x86_64-w64-mingw32-gcc-4.7.4-release-win64_rubenvb.7z/download
and the problems went away.
Since there are quite a lot of different mingw-w64 builds around do you
know what should be the 'official' and most up-to-date (ie. contining
minimum bugs)?
thanks,
Richard
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public