Skip to content

operator new in DXCompiler.cpp doesn't match GCC5 prototype #2

@pow2clk

Description

@pow2clk

To enable operator new in DXCompiler.cpp in order to better match the Windows build, we need to get it working on GCC5, the minimum version, but there is a mismatch in the exception indicated by the throw(). The header uses _GLIBCXX_THROW, which expands to nothing on gcc5 and gcc6, but gcc6 doesn't seem to mind that the user definition has a throw().

Metadata

Metadata

Assignees

No one assigned

    Labels

    dynamic loadrelated to the dynamic loading of dxcompiler

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions