main.cpp:3:13: error: type 'double' cannot be narrowed to 'int' in initializer list [-Wc++11-narrowing] int b { 1.2 }; // [2] ^~~ main.cpp:3:13: note: insert an explicit cast to silence this issue int b { 1.2 }; // [2] ^~~ static_cast( ) main.cpp:3:13: warning: implicit conversion from 'double' to 'int' changes value from 1.2 to 1 [-Wliteral- conversion] int b { 1.2 }; // [2] ~ ^~~ main.cpp:5:13: error: cannot initialize a variable of type 'int' with an lvalue of type 'const char [2]' int d { "1" }; // [4] ^~~ 1 warning and 2 errors generated.