/usr/bin/g++ -isystem /home/phil/cpp/boost-trunk -Wstrict-overflow -ansi -march=core2 -O3 -ffast-math -pedantic-errors -Wall -Wextra -Wconversion -Wfloat-equal -Wredundant-decls -Winit-self -Woverloaded-virtual -Wnon-virtual-dtor -Wctor-dtor-privacy -Wsign-promo -Wold-style-cast -Wno-long-long -c test.cpp test.cpp: In function ‘int main()’: test.cpp:21:2: warning: choosing ‘boost::foreach_detail_::rvalue_probe::operator boost::foreach_detail_::rvalue_probe::value_type() [with T = const std::vector, boost::foreach_detail_::rvalue_probe::value_type = const std::vector]’ over ‘boost::foreach_detail_::rvalue_probe::operator T&() const [with T = const std::vector]’ [-Wconversion] test.cpp:21:2: warning: for conversion from ‘boost::foreach_detail_::rvalue_probe >’ to ‘const int_vector’ [-Wconversion] test.cpp:21:2: note: because conversion sequence for the argument is better /usr/bin/g++ -o test test.o