4 ms·
When gcc broke the string ABI they made sure that code that uses one version wouldn't link with code that uses the other one.
by gpderetta 4y ago
When gcc broke the string ABI they made sure that code that uses one version wouldn't link with code that uses the other one.
- account42 4y agoOnly for the most common case. Try e.g. struct muhahaha { std::string member; }; library.cpp98: oops(muhahaha param); program.cpp20: int main() { oops({"this will link just fine and there will be nothing warning you about your fate"}); }