David Grayson c8b4c922a5 GCC 5.2 only has nullptr if running in C++11 mode (or greater). Every
GCC since 4.7 has a __cplusplus macro we can check to see what version
of the C++ standard is being used.

This change preserves the logic that was used for GCC 4, but for GCC
versions greater than 4, we will assume it has nullptr if and only if
the __cplusplus macro is large enough.

This allows catch to work on GCC 5.2 when it is not running in C++11
mode.
2015-07-24 13:48:58 -07:00
..