Skip to content

Compilation error on gcc 14 #1603

@miriameng

Description

@miriameng

The code compiles fine with gcc 13 but if I switch to gcc 14 I am seeing compilation error

/home/miriam/instant-ngp/dependencies/pybind11/include/pybind11/pybind11.h:1894:1: error: return type ‘struct pybind11::detail::initimpl::factory<pybind11::enum_<ngp::EEditingKernel>::enum_<>(const pybind11::handle&, const char*)::<lambda(pybind11::enum_<ngp::EEditingKernel>::Scalar)>, pybind11::detail::void_type (*)(), ngp::EEditingKernel(int), pybind11::detail::void_type()>’ is incomplete
 1894 | Ret init(Func &&f) {

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