On 03/12/2013 04:38 PM, Pekka Jääskeläinen wrote:
> This is strange because the configure check for a functioning clang++
> is a "Hello world" program using iostream's std::cout and it compiles fine.
> Maybe related to the -std=gnu++11.

Yep, it's because of that. In my system the Hello World test
doesn't compile either if I use -std=gnu++11. I'll try to find a machine
with a later libstdc++ and add the switch to the configure check for
a "functional clang++" meanwhile.

Trying to compile vecmathlib without the switch fails in cstdint:

In file included from ./../vecmathlib/pocl/../floattypes.h:6:
In file included from 
/usr/lib64/gcc/x86_64-linux-gnu/4.4/../../../../include/c++/4.4/cstdint:34:
/usr/lib64/gcc/x86_64-linux-gnu/4.4/../../../../include/c++/4.4/c++0x_warning.h:31:2:
 
error: This file requires compiler and library support for the upcoming ISO 
C++ standard, C++0x. This support is currently
       experimental, and must be enabled with the -std=c++0x or -std=gnu++0x 
compiler options.


-- 
Pekka

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to