Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 2 years ago

Language

C++

Compiler

gcc 13.2.0

Options
Warnings
Boost 1.83.0
C++2b
-pedantic-errors

Author

anonymous

about 2 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.83.0-gcc-13.2.0/include -std=c++2b -pedantic-errors
prog.cc: In function 'void f(int, int)':
prog.cc:1:12: warning: unused parameter 'a' [-Wunused-parameter]
    1 | void f(int a, int b) {};
      |        ~~~~^
prog.cc:1:19: warning: unused parameter 'b' [-Wunused-parameter]
    1 | void f(int a, int b) {};
      |               ~~~~^
Exit Code:
0