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

Colomban Wendling notifications at xxxxx
Fri Sep 29 20:39:34 UTC 2017


@techee isn't it a bug on the clang wrapper if it doesn't switch to a working stdlib when invoked with `-std=c++11` (or otherwise advertises C++11 features)?

Anyway, there are a few options:
* use a custom `CXXFLAGS` on your build or build scripts.  This is a good workaround, but not a solution if it's a real problem.
* add a configure check like I did on the keybidings PR, and possibly checking also whether GCC likes the flag (similar to what we have in GP for checking `CFLAGS`). I might try writing the test if it's useful (and you could try it as I don't have an OSX to build on ^^)

-- 
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#issuecomment-333233401
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170929/2775294c/attachment.html>


More information about the Github-comments mailing list