Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

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

Options
Warnings
Optimization
Boost 1.73.0
C++2a
no pedantic

$ clang++ prog.cc -Wall -Wextra -O2 -march=native -I/opt/wandbox/boost-1.73.0/clang-head/include -std=c++2a
prog.cc:20:9: warning: underaligned exception object thrown [-Wunderaligned-exception-object]
        throw a;
        ^
prog.cc:20:9: note: required alignment of type 'ALIGNEDA' (aka 'A') (32 bytes) is larger than the supported alignment of C++ exception objects on this target (16 bytes)
1 warning generated.
15
Exit Code:
0