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
no pedantic

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=c++2a
prog.cc:4:1: warning: 'A' defined as a class here but previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
class A {};   // C4099, use different identifer or use same object type
^
prog.cc:3:1: note: did you mean class here?
struct A;
^~~~~~
class
1 warning generated.
Exit Code:
0