14 lines
No EOL
637 B
Text
14 lines
No EOL
637 B
Text
file.cc: In function ‘int main()’:
|
||
file.cc:66:23: error: narrowing conversion of ‘3.0e+0’ from ‘double’ to ‘int’ [-Wnarrowing]
|
||
66 | vector<int> a= { 3.0};
|
||
| ^
|
||
file.cc: At global scope:
|
||
file.cc:39:13: warning: ‘void YES()’ defined but not used [-Wunused-function]
|
||
39 | static void YES() {
|
||
| ^~~
|
||
file.cc:35:13: warning: ‘void NO()’ defined but not used [-Wunused-function]
|
||
35 | static void NO() {
|
||
| ^~
|
||
cc1plus: note: unrecognized command-line option ‘-Wno-sign-promotion’ may have been intended to silence earlier diagnostics
|
||
|
||
[code]: 1 |