sharlin@pleco:~$ cat foo.cpp && g++ foo.cpp -o foo && ./foo#include <iostream>struct foo { foo(int i) { std::cout<<i<<'\n'; } };struct bar { bar() : f2(2), f1(1) { } foo f1, f2; };int main(){ bar b;}12
Of course, I'm not saying that ignoring warnings in general is a good thing, but in this case it shouldn't matter too much.