mirror of
https://github.com/catchorg/Catch2.git
synced 2025-07-01 15:15:32 +02:00

The old detection logic here assumed that all versions of gcc >= 5 would provide nullptr and `std::nullptr_t`; this is only true in gcc >= 5 when the standard is explicitly set (e.g. `std=c++11`), and other detection logic handles that. This change allows Catch-using programs to compile with gcc >= 5, when using the default (C++98) standard.