[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
Sat Sep 30 10:54:35 UTC 2017


OK, after some playing with the command-line parameters I realized that it was the deployment target which was causing the problems. libc++ is used by default only when the deployment target is OS X 10.9 or newer and it ignores flags like -std=c++11 or launching it as clang++ when the deployment target is lower. The only thing that works is adding the -stdlib=libc++ flag.

So the easiest way would be to change the deployment target of the Geany mac binaries to OS X 10.9 which means the binary wouldn't run on older systems. But it might not be such a big problem as 10.9 isn't already supported by Apple with security patches so most users are probably on some newer system. Thoughts?

-- 
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-333300840
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170930/45fb4f0e/attachment.html>


More information about the Github-comments mailing list