Skip to content

Intel-C: declare support for gnu11

Ben Boeckel requested to merge ben.boeckel/cmake:intel-gnu11-support into master

Without extensions, functions like strdup are not available since they are actually controlled by feature flags such as _SVID_SOURCE and _BSD_SOURCE. When using -std=c11 on Intel, none of these flags are set, so the functions are not declared properly leading to compile errors.

Reported-by: Adam J. Stewart ajstewart426@gmail.com Closes: #16226 (closed)

Merge request reports