- Version: Relese 2.8.0
- OS: Windows 10
Compile with -fcontracts -lstdc++exp.
Link error:
[build] \w64devkit\bin/ld.exe: .cpp.obj: in function __tu_has_violation': [build].cpp:26:(.text+0x384): undefined reference to handle_contract_violation(std::contracts::contract_violation const&)'
[build] \w64devkit\bin/ld.exe:.cpp.obj: in function __tu_has_violation_exception': [build] .cpp:26:(.text+0x3ed): undefined reference to handle_contract_violation(std::contracts::contract_violation const&)'
Compile with
-fcontracts -lstdc++exp.Link error: