[Github-comments] [geany/geany] Need to add -stdlib=libc++ flag on OS X because of Scintilla's C++11 requirement (#1618)

Jiří Techet notifications at xxxxx
Fri Sep 29 17:11:04 UTC 2017


I tried to build the latest Geany version from master on OS X and get errors in Scintilla sources because it started using C++11. The problem on OS X is that there are two C++ standard libraries - libstdc++ (legacy without C++11 support) and libc++ (supported one with C++11). When llvm is invoked as gcc in the gcc compatibility mode (which happens when building Geany), libstdc++ is used by default which leads to the compilation errors because of missing C++11 support.

For this reason I'd need to add -stdlib=libc++ flag on the Mac build. Any idea (@b4n) how to best do it?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1618
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170929/6fce4215/attachment.html>


More information about the Github-comments mailing list