Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

clang HEAD 12.0.0 (https://github.com/llvm/llvm-project.git 9087209314caafed4b232d4a66287f2d16054ad3)

Options
Warnings
Boost 1.73.0
C++2a
no pedantic

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=c++2a
prog.cc:7:50: warning: length modifier 'q' results in undefined behavior or no effect with 'c' conversion specifier [-Wformat]
    printf("This takes int and double arguments %qc");
                                                ~^~
prog.cc:7:51: warning: more '%' conversions than data arguments [-Wformat]
    printf("This takes int and double arguments %qc");
                                                ~~^
prog.cc:5:21: warning: unused parameter 'a' [-Wunused-parameter]
void print_func(int a, float f)
                    ^
prog.cc:5:30: warning: unused parameter 'f' [-Wunused-parameter]
void print_func(int a, float f)
                             ^
4 warnings generated.
Exit Code:
0