0

./boost/python/cast.hpp:73:20: warning: typedef 'must_be_a_complete_type' locally defined but not used [-Wunused-local-typedefs] /usr/include/python2.7/object.h:115:51: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

C.J
  • 33
  • 1
  • 3
  • you should probably add some more information, like how you invoked the build process ... โ€“ user23573 Sep 17 '15 at 18:15
  • I am doing a manual build with ./bootstrap.sh ./b2 install. I tried editing the boost makefile to supress the warning with cflags = -w -O3 -Iinclude -isystem $(BOOST_ROOT) -Wno-unused-local-typedefs but doesnt seem to work. โ€“ C.J Sep 18 '15 at 17:29
  • These are warnings. This is pretty normal when building boost. Look at the [documentation](http://www.boost.org/doc/libs/1_59_0/more/getting_started/unix-variants.html#boost-root-directory) in paragraph ยง 4.1. โ€“ user23573 Sep 18 '15 at 18:42

0 Answers0