Language
C++
Compiler
gcc 8.3.0
Options
Warnings
Optimization
Don't Use Boost
C++17
-pedantic-errors
$ g++ prog.cc -Wall -Wextra -O2 -march=native -std=c++17 -pedantic-errors
Exit Code:
1
Author
anonymous
about 6 years ago
C++
gcc 8.3.0
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));
^~~~~