libstdc++: [_GLIBCXX_INLINE_VERSION] Un-weak handle_contract_violation
libstdc++-v3/ChangeLog: * src/experimental/contract.cc [_GLIBCXX_INLINE_VERSION](handle_contract_violation): Rework comment. Remove weak attribute.
This commit is contained in:
parent
434975cb1b
commit
5ea11700e5
1 changed files with 3 additions and 2 deletions
|
@ -69,8 +69,9 @@ handle_contract_violation (const std::experimental::contract_violation &violatio
|
|||
}
|
||||
|
||||
#if _GLIBCXX_INLINE_VERSION
|
||||
// Provide symbol without version namespace decoration for gcc.
|
||||
extern "C" __attribute__ ((weak)) void
|
||||
// The compiler expects the contract_violation class to be in an unversioned
|
||||
// namespace, so provide a forwarding function with the expected symbol name.
|
||||
extern "C" void
|
||||
_Z25handle_contract_violationRKNSt12experimental18contract_violationE
|
||||
(const std::experimental::contract_violation &violation)
|
||||
{ handle_contract_violation(violation); }
|
||||
|
|
Loading…
Add table
Reference in a new issue