Language
C++
Compiler
gcc 6.3.0
Options
Warnings
Optimization
Boost 1.64.0
C++1z(GNU)
-pedantic
Raw compiler options
-Weffc++
-Wformat=2
-Wlogical-op
-Wnoexcept
-Wold-style-cast
-Woverloaded-virtual
-Wredundant-decls
-Wshadow
-Wsign-conversion
-Wsign-promo
-Wstrict-overflow=5
-Wstrict-null-sentinel
-Wswitch-default
-Wfloat-equal
-Wmissing-format-attribute
-Wunreachable-code
-fmerge-all-constants
-Wnull-dereference
-Wduplicated-cond
$ g++ prog.cc -Wall -Wextra -O2 -march=native -I/opt/wandbox/boost-1.64.0/gcc-6.3.0/include -std=gnu++1z -pedantic -Weffc++ -Wformat=2 -Wlogical-op -Wnoexcept -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wstrict-null-sentinel -Wswitch-default -Wfloat-equal -Wmissing-format-attribute -Wunreachable-code -fmerge-all-constants -Wnull-dereference -Wduplicated-cond
Size of doitRegistry() 3
foo2()
Exit Code:
0