Closed davidchisnall closed 5 months ago
The std::string constructor calls a strlen builtin. This ends up being expanded to a strlen call without the matching calling convention and so results in link failures.
There are two related issues here:
Clang can give it whatever name you want if you provide a prototype here, so I believe the right solution is to treat these as separate bugs and:
The std::string constructor calls a strlen builtin. This ends up being expanded to a strlen call without the matching calling convention and so results in link failures.