misc: Compilation error with clang on macOS
Review Request #3524 - Created June 22, 2016 and discarded
| Information | |
|---|---|
| Matthias Jung | |
| gem5 | |
| Reviewers | |
| Default | |
| andysan | |
A compilation error occurs when compiling with clan on macOS:
[ CXX] ARM/sim/power/mathexpr_powermodel.cc -> .o In file included from build/ARM/sim/mathexpr.cc:40: build/ARM/sim/mathexpr.hh:87:36: error: implicit instantiation of undefined template 'std::__1::array<MathExpr::OpSearch, 6>' std::array<OpSearch, uNeg + 1> ops; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tuple:116:65: note: template is declared here template <class _Tp, size_t _Size> struct _LIBCPP_TYPE_VIS_ONLY array; ^ [ SWIG] ARM/python/m5/internal/AbstractMemory_vector.i -> _wrap.cc, .py [ SWIG] ARM/python/m5/internal/AbstractNVM_vector.i -> _wrap.cc, .pythis is due to missing includes in mathexpr.hh
Review request changed
Updated (June 22, 2016, 5:46 a.m.)
People: |
|
|---|
Posted (June 22, 2016, 5:55 a.m.)
I think this was fixed by the following commit: https://github.com/gem5/gem5/commit/0e80ee7778748dff65edacb96fbc9b70b605ea69
