Language
C++
Compiler
gcc 8.3.0
Options
Warnings
Boost 1.73.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-8.3.0/include -std=gnu++2a
Exit Code:
1
Author
anonymous
over 4 years ago
C++
gcc 8.3.0
Author
anonymous
over 4 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-8.3.0/include -std=gnu++2a
In file included from /opt/wandbox/gcc-8.3.0/include/c++/8.3.0/cassert:44,
from prog.cc:2:
prog.cc: In function 'constexpr void foo(int)':
prog.cc:9:5: error: call to non-'constexpr' function 'void __assert_fail(const char*, const char*, unsigned int, const char*)'
assert(false);
^~~~~~