Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 5 years ago

Language

C++

Compiler

clang 8.0.0

Options
Warnings
Boost 1.71.0
C++17
-pedantic-errors

Author

anonymous

over 5 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.71.0/clang-8.0.0/include -std=c++17 -pedantic-errors
prog.cc:5:5: error: reference to type 'const int' requires an initializer
    R();
    ^
prog.cc:4:5: warning: expression result unused [-Wunused-value]
    R{};
    ^~~
1 warning and 1 error generated.
Exit Code:
1