Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Invalid cast when building with MinGW-w64 #394
I'm trying to build bullet 2.83.4 on Windows using MinGW-w64 with GCC 4.9.
I get the following error while building:
Small precision, this happens only in 64 bit (MinGW-w64). 32 bits MinGW compiles fine.
Sure, I'll look into it.
intptr_t has some portability issues but it only requires C99 not C++11, see also http://stackoverflow.com/questions/9492798/using-intptr-t-instead-of-void
The Bullet code base values portability and support for older compilers and platforms, so C++11 and C++14 is not allowed just yet. I rather have the code base look old and hairy rather than getting compile errors on various platforms.
That's C 99, not C++ - those were .cpp files I modified..
On 4 February 2016 at 21:38, erwincoumans firstname.lastname@example.org wrote:
Also, a check can be quickly done with CMake to see if a specific
Then you can easily add your own implementation if uintptr_t is missing.