You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had trouble compiling the latest release version of this software (v1.2.2_p1) using the default C++ standard for my compiler (GNU gcc 7.1.0). There were a number of errors, although the majority were just repeated instances of these:
error: cannot bind non-const lvalue reference of type 'HitSink::batch&' to an rvalue of type 'std::remove_reference<HitSink::batch&>::type {aka HitSink::batch}'
...
error: no matching function for call to 'swap(HitSink::batch&, HitSink::batch&)'
...
error: no type named 'type' in 'struct std::enable_if<false, void>'
For anyone else experiencing this issue, it can be worked around by specifying -std=c++03 in the Makefile as an argument to EXTRA_CXXFLAGS =. I also double-checked that the C++98 standard also works. Any more recent versions of the C++ standard (-std=c++11, -std=c++14, and -std=c++17) will result in the errors above.
Attached is a log from the build command (make NO_TBB=1) if it helps: make.log
The text was updated successfully, but these errors were encountered:
Yes, I noticed this recently as well. Up to now we've tried not to force a choice of C++11 versus pre-C++11, but this recent change broke that. @ch4rr0 and I will discuss. Thank you for the report.
I had trouble compiling the latest release version of this software (v1.2.2_p1) using the default C++ standard for my compiler (GNU gcc 7.1.0). There were a number of errors, although the majority were just repeated instances of these:
For anyone else experiencing this issue, it can be worked around by specifying
-std=c++03
in the Makefile as an argument toEXTRA_CXXFLAGS =
. I also double-checked that the C++98 standard also works. Any more recent versions of the C++ standard (-std=c++11
,-std=c++14
, and-std=c++17
) will result in the errors above.Attached is a log from the build command (
make NO_TBB=1
) if it helps: make.logThe text was updated successfully, but these errors were encountered: