Yuan Yao
2018-08-29 08:40:34 UTC
Hi All,
I encounter the following error when compiling gem5.
scons: done reading SConscript files.
scons: Building targets ...
[ CXX] ALPHA/sim/main.cc -> .do
In file included from ext/pybind11/include/pybind11/pytypes.h:12:0,
from ext/pybind11/include/pybind11/cast.h:13,
from ext/pybind11/include/pybind11/attr.h:13,
from ext/pybind11/include/pybind11/pybind11.h:43,
from build/ALPHA/sim/init.hh:46,
from build/ALPHA/sim/main.cc:33:
ext/pybind11/include/pybind11/detail/common.h:785:32: error: expected ';' at
end of member declaration
operator std::vector<T> &&() && { return std::move(v); }
^
ext/pybind11/include/pybind11/detail/common.h:785:37: error: expected
unqualified-id before '{' token
operator std::vector<T> &&() && { return std::move(v); }
<and many more>
Can anyone kindly give me a hint?
I am using python-2.7.2, gcc-4.8.0, and scons-2.1.0, without system root
privilege.
I guess this error has something to do with the c++11 support, since the
error is related to pybind11.
Best,
Yuan
Mr. Yuan Yao
PhD Student
ESY, ICT
KTH Royal Institute of Technology
<mailto:***@kth.se> ***@kth.se
I encounter the following error when compiling gem5.
scons: done reading SConscript files.
scons: Building targets ...
[ CXX] ALPHA/sim/main.cc -> .do
In file included from ext/pybind11/include/pybind11/pytypes.h:12:0,
from ext/pybind11/include/pybind11/cast.h:13,
from ext/pybind11/include/pybind11/attr.h:13,
from ext/pybind11/include/pybind11/pybind11.h:43,
from build/ALPHA/sim/init.hh:46,
from build/ALPHA/sim/main.cc:33:
ext/pybind11/include/pybind11/detail/common.h:785:32: error: expected ';' at
end of member declaration
operator std::vector<T> &&() && { return std::move(v); }
^
ext/pybind11/include/pybind11/detail/common.h:785:37: error: expected
unqualified-id before '{' token
operator std::vector<T> &&() && { return std::move(v); }
<and many more>
Can anyone kindly give me a hint?
I am using python-2.7.2, gcc-4.8.0, and scons-2.1.0, without system root
privilege.
I guess this error has something to do with the c++11 support, since the
error is related to pybind11.
Best,
Yuan
Mr. Yuan Yao
PhD Student
ESY, ICT
KTH Royal Institute of Technology
<mailto:***@kth.se> ***@kth.se