Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C++

Compiler

clang HEAD 8.0.0 (https://github.com/llvm-mirror/clang.git 30abdb44ab9b2503694a58bb409e8a8ab898cc62) (https://github.com/llvm-mirror/llvm.git 6ccb5e3350d73c4d58b8122edd453d5133d8a593)

Options
Warnings
Boost 1.69.0
C++2a(GNU)
-pedantic

Author

anonymous

over 6 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/clang-head/include -std=gnu++2a -pedantic
prog.cc:15:17: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
    MyAssert(1<2);
                ^
prog.cc:4:9: note: macro 'MyAssert' defined here
#define MyAssert(expression, ...)                                      \
        ^
1 warning generated.
Assertion error: 2<1 | Math error with 1 and 2
Signal:
Aborted