[Kst] Compiling problem on Mac "Thread-local storage"
Peter Kümmel
syntheticpp at gmx.net
Fri Jan 3 21:18:37 UTC 2014
On 02.01.2014 21:52, Nicholas Chapman wrote:
> Hi, just now I did a "git pull" to get the latest KST, then attempted
> to build it. I get the following error message:
>
> In file included from
> /Users/chapman/data1/Applications/kst/src/datasources/ascii/asciisource.cpp:22:
> /Users/chapman/data1/Applications/kst/src/datasources/ascii/kst_atof.h:63:
> error: thread-local storage not supported for this target
> make[2]: *** [src/datasources/CMakeFiles/kst2_datasource_ascii.dir/Users/chapman/data1/Applications/kst/src/datasources/ascii/asciisource.cpp.o]
> Error 1
> make[1]: *** [src/datasources/CMakeFiles/kst2_datasource_ascii.dir/all] Error 2
> make: *** [all] Error 2
> 14:47:25: The process "/usr/bin/make" exited with code 2.
> Error while building/deploying project Kst (kit: Desktop)
>
> It looks like it is complaining about line 63 of
> kst/src/datasources/ascii/kst_atof.h:
> static KST_THREAD_LOCAL double _previousValue;
>
> Any ideas?
Please try to compile with clang: run cmake with -Dkst_clang=1 in a clean build dir.
>
> I'm compiling on Mac OS 10.6.8 using Qt 4.8.4
>
> Nicholas Chapman
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
More information about the Kst
mailing list