Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc 8.3.0

Options
Warnings
Optimization
Don't Use Boost
C++17
-pedantic-errors

Author

anonymous

about 6 years ago

$ g++ prog.cc -Wall -Wextra -O2 -march=native -std=c++17 -pedantic-errors
prog.cc: In function 'int main()':
prog.cc:6:19: error: static assertion failed
 #define ICE_P(x) (is_ice_helper<decltype(1? (void *) ((x)*0) : (int *) 0)>::value)
                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cc:9:19: note: in expansion of macro 'ICE_P'
     static_assert(ICE_P(3));
                   ^~~~~
Exit Code:
1