diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2016-08-02 15:31:50 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2016-08-02 15:42:45 (GMT) |
commit | cc223e1eed69775a323a59628ad93fc79390c2f2 (patch) | |
tree | 9feda033e50705707a64b8a7a62a870c2212b8d8 /Modules/Compiler/SunPro-CXX-FeatureTests.cmake | |
parent | e31084e65745f9dd422c6aff0a2ed4ada6918805 (diff) | |
download | CMake-cc223e1eed69775a323a59628ad93fc79390c2f2.zip CMake-cc223e1eed69775a323a59628ad93fc79390c2f2.tar.gz CMake-cc223e1eed69775a323a59628ad93fc79390c2f2.tar.bz2 |
Intel-C: declare support for gnu11
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
Diffstat (limited to 'Modules/Compiler/SunPro-CXX-FeatureTests.cmake')
0 files changed, 0 insertions, 0 deletions