Remove trailing comma to avoid pedantic warning in C++ 98 mode: comma at end of enume...
authorMartin Sebor <msebor@redhat.com>
Thu, 6 Feb 2020 00:11:38 +0000 (17:11 -0700)
committerMartin Sebor <msebor@redhat.com>
Thu, 6 Feb 2020 00:14:42 +0000 (17:14 -0700)
libcpp/ChangeLog
libcpp/include/cpplib.h

index cc5c575ca83e64b65adbcbbb3942a2564098c4b4..65e8f4006792194ea59451a7515118058d41e272 100644 (file)
@@ -1,3 +1,8 @@
+2020-02-05  Martin Sebor  <msebor@redhat.com>
+
+       * include/cpplib.h (cpp_builtin_type): Remove trailing comma to
+       avoid pedantic warnings in C++ 98 mode.
+
 2020-02-04  Jakub Jelinek  <jakub@redhat.com>
 
        * macro.c (builtin_has_include): Diagnose __has_include* use outside
index 07caadb88e7a2620480ba87b0877132f3ea125ac..03cc72a12e2b21577589dfe7b0d978b60e0c1ae7 100644 (file)
@@ -862,7 +862,7 @@ enum cpp_builtin_type
   BT_HAS_ATTRIBUTE,            /* `__has_attribute(x)' */
   BT_HAS_BUILTIN,              /* `__has_builtin(x)' */
   BT_HAS_INCLUDE,              /* `__has_include(x)' */
-  BT_HAS_INCLUDE_NEXT,         /* `__has_include_next(x)' */
+  BT_HAS_INCLUDE_NEXT          /* `__has_include_next(x)' */
 };
 
 #define CPP_HASHNODE(HNODE)    ((cpp_hashnode *) (HNODE))