Discussion:
[Texmacs-dev] libstdc++ problem on FreeBSD
Kostas Oikonomou
2017-12-02 17:32:54 UTC
Permalink
Can someone explain the rationale of introducing -stdlib=libstdc++ into
the compilation by clang++?
It causes problems, at least on FreeBSD.  The file t.cpp

#include <string>
int main () {}

compiles fine with "clang++ t.c", but does not compile with "clang++
-stdlib=libstdc++":

fatal error: 'string' file not found

                                    Kostas
Loading...