Language
C++
Compiler
gcc HEAD 12.0.0 20210717 (experimental)
Options
Warnings
Boost 1.73.0
C++17
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=c++17
Exit Code:
0
Author
anonymous
almost 4 years ago
C++
gcc HEAD 12.0.0 20210717 (experimental)
Author
anonymous
almost 4 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=c++17
prog.cc: In member function 'void Worker::WorkA(int, std::vector<int>)':
prog.cc:14:20: warning: unused parameter 'A' [-Wunused-parameter]
14 | void WorkA(int A, vector<int> B) {}
| ~~~~^
prog.cc:14:35: warning: unused parameter 'B' [-Wunused-parameter]
14 | void WorkA(int A, vector<int> B) {}
| ~~~~~~~~~~~~^