#120 Lots of compilation warnings with GCC 4.7.2

Release 3.0
pending
nobody
Assimp lib (91)
5
2013-09-24
2013-02-24
Jussi Lind
No

There are lots of compilation warnings when compiled with GCC 4.7 with -Wall -pedantic. Examples:

- A lot of warnings about unused parameters
- BlenderScene.cpp:62:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- tuple.hpp:145:3: warning: extra ‘;’
- IFCLoader.cpp:553:26: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.7/backward/auto_ptr.h:87)
- IFCGeometry.cpp:175:6: warning: ‘best_ofs’ may be used uninitialized in this function
- XGLLoader.cpp:404:39: warning: comparison between signed and unsigned integer expressions
- unzip.c:1177:24: warning: assignment from incompatible pointer type
- shapes.cc:122:10: warning: variable ‘x’ set but not used

Discussion

  • Kim Kulling
    Kim Kulling
    2013-09-24

    • status: open --> pending