gtcasl/gpuocelot

With latest LLVM compilation fails on Translator.h:76

Opened this issue · 0 comments

From volyrkr on July 02, 2013 13:09:32

What steps will reproduce the problem? 1. Update LLVM from svn
2. Rebuild gpuocelot
3. Observe the error

Expected: successful build.
Observed:
In file included from ocelot/ocelot/executive/interface/Device.h:17:0,
from ocelot/ocelot/trace/implementation/MemoryRaceDetector.cpp:14:
ocelot/ocelot/translator/interface/Translator.h:67:34: error: expected primary-expression before '{' token

Version: latest from svn

Fix: need to add "-std=c++11" instead of "-std=c++0x" to ocelot/scripts/build_environment.py and other config scripts.

Original issue: http://code.google.com/p/gpuocelot/issues/detail?id=87