#include /* File: bug.cpp BOOST_VERSION: 104800 */ /* $ g++ -I/opt/local/include -c -W bug.cpp -> OK $ g++ -I/opt/local/include -c -W -O0 bug.cpp -> OK $ g++ -I/opt/local/include -c -W -O1 bug.cpp In file included from /opt/local/include/boost/spirit/home/phoenix/statement.hpp:18, from /opt/local/include/boost/spirit/home/phoenix.hpp:19, from /opt/local/include/boost/spirit/include/phoenix.hpp:13, from bug.cpp:1: /opt/local/include/boost/fusion/container/vector/detail/preprocessed/vvector10.hpp: In function ‘void __static_initialization_and_destruction_0(int, int)’: /opt/local/include/boost/fusion/container/vector/detail/preprocessed/vvector10.hpp:36: warning: ‘.boost::fusion::vector::vec’ is used uninitialized in this function /opt/local/include/boost/fusion/container/vector/detail/preprocessed/vvector10.hpp:119: note: ‘.boost::fusion::vector::vec’ was declared here $ g++ -I/opt/local/include -c -W -O2 bug.cpp -> Same problem $ g++ --version i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */