Language
C++
Compiler
gcc HEAD 9.0.0 20190106 (experimental)
Options
Warnings
Boost 1.69.0
C++2a
no pedantic
Raw compiler options
-O2
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=c++2a -O2
Exit Code:
1
Author
anonymous
over 6 years ago
C++
gcc HEAD 9.0.0 20190106 (experimental)
Author
anonymous
over 6 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=c++2a -O2
prog.cc:6:8: warning: 'void i< <template-parameter-1-1> >::dispatch(void*) [with <template-parameter-1-1> = {anonymous}::l]' declared 'static' but never defined [-Wunused-function]
6 | void dispatch(void *) {}
| ^~~~~~~~
/usr/lib/x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status