gcc gives a warning "Statement has no effect" every time it finds B2_NOT_USED. It is no harm if warnings goes while compiling a library, because you compile it only once, but this warning also goes while compiling any c++ file including box2d.h
So I changed b2Settings.h:
So I changed b2Settings.h:
Code:
#ifdef MSVC
#define B2_NOT_USED(x) x
#else
#define B2_NOT_USED(x)
#endif
#define B2_NOT_USED(x) x
#else
#define B2_NOT_USED(x)
#endif