Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 3 years ago

Language

C++

Compiler

gcc 12.1.0

Options
Warnings
Boost 1.79.0
C++11
-pedantic
Raw compiler options
source.cpp

Author

anonymous

about 3 years ago

header.h
source.cpp

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.79.0-gcc-12.1.0/include -std=c++11 -pedantic source.cpp
source.cpp: In function 'void func(int, std::string, unsigned int, std::string, ...)':
source.cpp:2:15: warning: unused parameter 'level' [-Wunused-parameter]
    2 | void func(int level, std::string format, unsigned int line_no, std::string file_name, ...)
      |           ~~~~^~~~~
source.cpp:2:34: warning: unused parameter 'format' [-Wunused-parameter]
    2 | void func(int level, std::string format, unsigned int line_no, std::string file_name, ...)
      |                      ~~~~~~~~~~~~^~~~~~
source.cpp:2:55: warning: unused parameter 'line_no' [-Wunused-parameter]
    2 | void func(int level, std::string format, unsigned int line_no, std::string file_name, ...)
      |                                          ~~~~~~~~~~~~~^~~~~~~
source.cpp:2:76: warning: unused parameter 'file_name' [-Wunused-parameter]
    2 | void func(int level, std::string format, unsigned int line_no, std::string file_name, ...)
      |                                                                ~~~~~~~~~~~~^~~~~~~~~
Exit Code:
0