[Libclc-dev] What mean "cl_clang_storage_class_specifiers" error?

Chatsiri Ratana insiderboy at gmail.com
Thu Jun 7 23:06:20 PDT 2012


Hello All,

I'm compile example file extension name .cl with Clang in order to check
the Libclc can using with the Clang, but represent error as below.  That
comand line copy from file name compile-test.sh in openclc project and add
file cos.cl for compiling in suffix of command line.

[chatsiri at maeka libclc]$ clang -ccc-host-triple nvptx--nvidiacl
-Iptx-nvidiacl/include -Igeneric/include -Xclang -mlink-bitcode-file
-Xclang nvptx--nvidiacl/lib/builtins.bc -include clc/clc.h test/cos.cl
In file included from <built-in>:127:
In file included from <command line>:1:
generic/include/clc/clc.h:2:2: error: Implementation requires
cl_clang_storage_class_specifiers extension!
#error Implementation requires cl_clang_storage_class_specifiers extension!
 ^
1 error generated.

Best Regards,
Chatsiri Rattana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libclc-dev/attachments/20120608/1bdacf55/attachment-0001.html>


More information about the Libclc-dev mailing list