Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Compile time error with intel 19.0.4.243

Open
#313 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
build-system

Research direction

Start with boost/operators.hpp at line 169 and libs/python/src/converter/registry.cpp around line 302, then reproduce the failure using Intel icpc 19.0.4.243 and the shown C++11 command. Investigate the compiler's constexpr diagnostic and establish a compatibility change or supported-version limitation that allows Boost.Python to compile.

Written by the indexing model from the issue text.

Description

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<bool>(x == y); }
                                                                                         ^
          detected during instantiation of class "boost::operators_impl::equality_comparable1<T, B> [with T=boost::python::type_info, B=boost::operators_impl::operators_detail::empty_base<boost::python::type_
info>]" 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

Dominant language
C++
Stars
537
Forks
223
Avg merge
11h 22m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/python

All issues in boostorg/python

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.