79271548

Date: 2024-12-11 11:37:28
Score: 1
Natty:
Report link

I ran into this problem recently and I think the preferable solution in a lot of cases may be to use clang++ instead.

If that's not possible; I was able to resolve the issue by explicitly linking against the std c++ library directly.

For example:

clang -std=c++17 main.cpp -lstdc++
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ford Jones