boostorg / boostorg/python

Compile time error with intel 19.0.4.243

Offen
#313 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
537
Forks
223
Ø Merge
11 Std. 22 Min.
Gemergte PRs (30 T.)
2

Beschreibung

I suspect the compiler is at fault, but still:
```
intel-linux.compile.c++ bin.v2/libs/python/build/intel-linux/release/python-3.6/threading-multi/visibility-hidden/converter/registry.o
./boost/operators.hpp(169): error #3377: constexpr function return is non-constant
friend BOOST_OPERATORS_CONSTEXPR bool operator!=(const T& x, const T& y) { return !static_cast(x == y); }
^
detected during instantiation of class "boost::operators_impl::equality_comparable1 [with T=boost::python::type_info, B=boost::operators_impl::operators_detail::empty_base]" at line 302 of "libs/python/src/converter/registry.cpp"

compilation aborted for libs/python/src/converter/registry.cpp (code 2)

"icpc" -c -xc++ -fvisibility-inlines-hidden -fPIC -m64 -pthread -fvisibility=hidden -w1 -inline-level=2 -O3 -ip -std=c++11 -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/opt/software/occige
n/tools/intelpython3/2019.3/intelpython3/include/python3.6m" -c -o "bin.v2/libs/python/build/intel-linux/release/python-3.6/threading-multi/visibility-hidden/converter/registry.o" "libs/python/src/converter
/registry.cpp"

...failed intel-linux.compile.c++ bin.v2/libs/python/build/intel-linux/release/python-3.6/threading-multi/visibility-hidden/converter/registry.o...
```
Thanks

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.