Language
C++
Compiler
clang 8.0.0
Options
Warnings
Boost 1.73.0
C++2a(GNU)
no pedantic
Raw compiler options
-Weverything
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-8.0.0/include -std=gnu++2a -Weverything
Exit Code:
0
C++
clang 8.0.0
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-8.0.0/include -std=gnu++2a -Weverything
prog.cc:1:14: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]
int f(int* = 0)
^
nullptr
prog.cc:1:5: warning: no previous prototype for function 'f' [-Wmissing-prototypes]
int f(int* = 0)
^
2 warnings generated.