Language
C++
Compiler
gcc 10.1.0
Options
Warnings
Don't Use Boost
C++17
-pedantic
$ g++ prog.cc -Wall -Wextra -std=c++17 -pedantic
Exit Code:
0
Author
anonymous
over 4 years ago
C++
gcc 10.1.0
Author
anonymous
over 4 years ago
$ g++ prog.cc -Wall -Wextra -std=c++17 -pedantic
prog.cc: In instantiation of 'void foo() [with int bar = 0]':
prog.cc:10:12: required from here
prog.cc:5:20: warning: unused variable 'isZero' [-Wunused-variable]
5 | constexpr bool isZero = IsZero(bar);
| ^~~~~~