Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 3 years ago

Language

C++

Compiler

gcc HEAD 12.0.0 20210721 (experimental)

Options
Warnings
Boost 1.73.0
C++11
no pedantic

Author

anonymous

over 3 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=c++11
/tmp/cc0iHUFu.o: In function `C::C()':
prog.cc:(.text._ZN1CC2Ev[_ZN1CC5Ev]+0xd): undefined reference to `A::B::foo()'
collect2: error: ld returned 1 exit status
Exit Code:
1