From fa79935c8b0ccab5257ca99e0a72e90f8b3d6e76 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 8 Jan 2017 14:13:50 -0500 Subject: [PATCH] diag: Updated to libshared cppCompliance call --- src/diag.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/diag.cpp b/src/diag.cpp index 734b5ab..507eae0 100644 --- a/src/diag.cpp +++ b/src/diag.cpp @@ -89,18 +89,8 @@ int cmdDiagnostics () << "\n"; // Compiler compliance level. - std::string compliance = "non-compliant"; -#ifdef __cplusplus - int level = __cplusplus; - if (level == 199711) - compliance = "C++98/03"; - else if (level == 201103) - compliance = "C++11"; - else - compliance = format (level); -#endif std::cout << " Compliance: " - << compliance + << cppCompliance () << "\n\n"; std::cout << bold.colorize ("Build Features")