Skip to content

Missing symbols of C++26 contracts in libstdc++exp on Windows #393

@pointertobios-bmt

Description

@pointertobios-bmt
  • 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&)'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions