Closed vcoda closed 5 months ago
@vcoda I agree this should work for older gcc versions, my only concern is I don't have an immediate way to test it
If you are willing to make a PR with the macro #if
change and confirm it works, would be happy to take it
closed with https://github.com/KhronosGroup/SPIRV-Reflect/pull/258
(thanks for making the PR)
attribute((fallthrough)) not supported by GCC 6.8, so this check works only for newer compilers:
Better to improve check as the following:
#if defined(__GNUC__) && __GNUC__ >= 7