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().
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().