Skip to content

pybind does not compile with Intel C++ 15 #276

Description

@nonewthing

using Intel c++ 2015.1.133
including pybind11/pybind11.h I get this message

In file included from pysynapse/../3rdParty/pybind11-master/include/pybind11/pytypes.h(12),
from pysynapse/../3rdParty/pybind11-master/include/pybind11/cast.h(13),
from pysynapse/../3rdParty/pybind11-master/include/pybind11/attr.h(13),
from pysynapse/../3rdParty/pybind11-master/include/pybind11/pybind11.h(32),
from pysynapse/src/systemwrapper.cpp(2):
include/pybind11/common.h(323): error: function call must have a constant value in a constant expression
{ "bBhHiIqQ"[detail::log2(sizeof(T))*2 + (std::is_unsigned::value ? 1 : 0)], '\0' };
^

this is almost certainly a compiler bug (see https://software.intel.com/en-us/forums/intel-c-compiler/topic/532880) , so I am asking is their any known workaround for this ?

thanks

John

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions