On 03/04/2015 01:51 AM, Alexander Kobler wrote:
> In file included from test_barrier_between_for_loops.cpp:26:0:
> ../../fix-include/CL/cl.hpp:49:28: fatal error: CL/cl.hpp: No such file
> or directory
>   #  include_next <CL/cl.hpp>

What is the GCC version there? I couldn't reproduce this with my
Ubuntu's GCC 4.7.3 even with the system cl.hpp moved away.

I suspect it's a difference in handling the <> includes. Can you
try changing that #  include_next <CL/cl.hpp> to
#  include_next "CL/cl.hpp" and see if it fixes it?

If not, can you rebuild test_barrier_between_for_loops by
rm test_barrier_between_for_loops.o ; make 
test_barrier_between_for_loops  and see which -I paths the
g++ command line has?

-- 
--Pekka

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to