Files
CMake/Modules/WriteCompilerDetectionHeader.cmake
Rolf Eike Beer dc863592bc WCDH: use better fallback value for nullptr with old gcc versions
GCC supports the __null builtin basically forever (since at least 2.95), which
behaves very much like nullptr later does. Use this instead of plain "0" as
fallback value, otherwise passing the define to functions annotated with
__attribute__((sentinel)) will result in a compiler warning.
2018-03-20 22:01:48 +01:00

24 KiB