Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

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

Options
Warnings
Boost 1.73.0
C++2a
no pedantic
Raw compiler options
-Weverything

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=c++2a -Weverything
prog.cc:1:7: warning: 'A' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class A
      ^
prog.cc:7:7: warning: 'B' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor]
class B : public A
      ^
2 warnings generated.
Exit Code:
0