[KDE/Mac] OSX/CI: qtcurve fails to build on branch master

Yichao Yu yyc1992 at gmail.com
Tue Feb 10 23:41:38 UTC 2015


On Tue, Feb 10, 2015 at 3:19 PM, René J.V. <rjvbertin at gmail.com> wrote:
> On Tuesday February 10 2015 14:59:40 Yichao Yu wrote:
>>Clang should support it though. At least they do on Linux.
>
> Clang doesn't use libc++ on Linux ...

Not by default.

>
> However, using thread-local storage with pthreads in standard C isn't *much* longer. From memory, I'd say it shouldn't take more than 10 lines. Sure, that's 10x more than 1 line, but it's still not the end of the world ^^

As I said this is what I'll do if there really no way to compile it on
OSX. At least according to this[1] thread, it could be made to work.

[1] http://stackoverflow.com/questions/23791060/c-thread-local-storage-clang-503-0-40-mac-osx

>
> Alternatively you replace the file with an ObjC++ file (copy it to foo_mac and give it a .mm extension) and then use the ObjC native construct. That'll just add unnecessary overhead, though.

This is no solution.

>
> Cheers,
> R.


More information about the kde-mac mailing list