summaryrefslogtreecommitdiffstats
path: root/Source/Checks/cm_cxx14_cstdio.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Generalize check for C++14 constructsBrad King2017-12-221-33/+0
| | | | | | The check for C++14 and cstdio is a special case of the more general problem of checking that the compiler's C++14 mode supports everything we need. Rename the checks accordingly.
* Avoid using C++14 to build CMake if cstdio breaksBrad King2015-05-081-0/+33
The GNU 4.8 standard library's cstdio header is not aware that C++14 honors C11's removal of "gets" from stdio.h and results in an error: /.../include/c++/4.8/cstdio:120:11: error: no member named 'gets' in the global namespace Detect this problematic case and default to using C++11 instead of C++14 for building CMake itself.