Language
C++
Compiler
gcc HEAD 12.0.0 20210721 (experimental)
Options
Warnings
Boost 1.73.0
C++2b(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=gnu++2b
Exit Code:
1
Author
anonymous
over 3 years ago
C++
gcc HEAD 12.0.0 20210721 (experimental)
Author
anonymous
over 3 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=gnu++2b
/tmp/ccf7nZoL.o: In function `main::{lambda()#1}::operator()() const':
prog.cc:(.text+0x17): undefined reference to `MyStruct::foo()'
collect2: error: ld returned 1 exit status