Box2D includes commas at the end of some enumerated types, which is not allowed
by G++'s -pedantic mode. As these are in header files, it also prevents
compilation of user (i.e. my :) code using -pedantic if GCC decides that the
Box2D files aren't system headers, which they are not under my current build
scheme.
Attached is a patch that removes the comma. There's only a few, and it's the
only problem I ran into trying to compile my code with -pedantic.
Original issue reported on code.google.com by joe.wreschnig@gmail.com on 21 Sep 2010 at 8:25
Original issue reported on code.google.com by
joe.wreschnig@gmail.com
on 21 Sep 2010 at 8:25Attachments: