1 | /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
|
---|
2 | test.cpp: In function ‘int main()’:
|
---|
3 | test.cpp:21:2: warning: choosing ‘boost::foreach_detail_::rvalue_probe<T>::operator boost::foreach_detail_::rvalue_probe<T>::value_type() [with T = const std::vector<int>, boost::foreach_detail_::rvalue_probe<T>::value_type = const std::vector<int>]’ over ‘boost::foreach_detail_::rvalue_probe<T>::operator T&() const [with T = const std::vector<int>]’ [-Wconversion]
|
---|
4 | test.cpp:21:2: warning: for conversion from ‘boost::foreach_detail_::rvalue_probe<const std::vector<int> >’ to ‘const int_vector’ [-Wconversion]
|
---|
5 | test.cpp:21:2: note: because conversion sequence for the argument is better
|
---|
6 | /usr/bin/g++ -o test test.o
|
---|