Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

clang HEAD 12.0.0 (https://github.com/llvm/llvm-project.git 4013bab9c4a5fe634be6271779a99bc158c3e396)

Options
Warnings
Boost 1.73.0
C++2a(GNU)
no pedantic
Raw compiler options
-Wextra-semi-stmt

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=gnu++2a -Wextra-semi-stmt
prog.cc:5:4: error: no matching function for call to 'f'
   f(1,2);   // C4020
   ^
prog.cc:3:6: note: candidate function not viable: requires 1 argument, but 2 were provided
void f(int);
     ^
1 error generated.
Exit Code:
1