Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

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

Options
Warnings
Boost 1.73.0
C++2a(GNU)
no pedantic

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=gnu++2a
prog.cc:7:4: warning: deleting pointer to incomplete type 'IncClass' may cause undefined behavior [-Wdelete-incomplete]
   delete pIncClass;
   ^      ~~~~~~~~~
prog.cc:3:8: note: forward declaration of 'IncClass'
class  IncClass;
       ^
1 warning generated.
Exit Code:
0