Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

C++

Compiler

gcc HEAD 9.0.0 20180726 (experimental)

Options
Warnings
Boost 1.67.0
C++2a(GNU)
no pedantic

Author

anonymous

over 7 years ago

Test.hpp
Test.cpp

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.67.0/gcc-head/include -std=gnu++2a
/tmp/cc4FVOQ6.o: In function `main':
prog.cc:(.text+0x9): undefined reference to `vtable for TestClass'
prog.cc:(.text+0x19): undefined reference to `TestClass::Test()'
collect2: error: ld returned 1 exit status
Exit Code:
1