Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 4 years ago

Language

C++

Compiler

gcc HEAD 12.0.0 20210717 (experimental)

Options
Warnings
Boost 1.73.0
C++17
no pedantic

Author

anonymous

almost 4 years ago

new.cpp

$ 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) {}
      |                       ~~~~~~~~~~~~^
Exit Code:
0