Language
C++
Compiler
gcc HEAD 8.0.0 20171115 (experimental)
Options
Warnings
Boost 1.65.1
C++2a(GNU)
-pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.65.1/gcc-head/include -std=gnu++2a -pedantic
bla
Exit Code:
0
Author
anonymous
over 7 years ago
C++
gcc HEAD 8.0.0 20171115 (experimental)
Author
anonymous
over 7 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.65.1/gcc-head/include -std=gnu++2a -pedantic
prog.cc: In member function 'void Foo::test2(int, float, double)':
prog.cc:30:20: warning: unused parameter 'a' [-Wunused-parameter]
void test2(int a, float b, double c)
~~~~^
prog.cc:30:29: warning: unused parameter 'b' [-Wunused-parameter]
void test2(int a, float b, double c)
~~~~~~^
prog.cc:30:39: warning: unused parameter 'c' [-Wunused-parameter]
void test2(int a, float b, double c)
~~~~~~~^
bla