bulletphysics / bullet3

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.
http://bulletphysics.org
Other
12.18k stars 2.85k forks source link

Pedantic compile with MSVC, GCC and Clang MinGW #4623

Open RaceTheMaSe opened 4 weeks ago

RaceTheMaSe commented 4 weeks ago

An attempt to build bullet3 with more pedantic compile settings for x86-64 targets

Contains:

Tested compilers:

Tested compile settings:

As it was stated that this project should be C++98 compatible, this was the primary setting, the other C++11.

Please note that the changes are only checked so it compiles. It still works in a project that uses rather basic features of this library, so not thoroughly tested.

Integrate / cherry-pick as much as you think fits.