The following commit has been merged in the master branch:
commit e6baa48223e6a6dcdd8522c91d96d76a2a3a3f0e
Author: Guillem Jover <[email protected]>
Date:   Sun Sep 27 17:10:21 2009 +0200

    build: Add test for 'trailing comma in enum' C99 support

diff --git a/m4/compiler.m4 b/m4/compiler.m4
index 972a7f2..4e20108 100644
--- a/m4/compiler.m4
+++ b/m4/compiler.m4
@@ -65,6 +65,9 @@ AC_DEFUN([DPKG_TRY_C99],
        /* Compound initialisers */
        struct { int a, b; } foo = { .a = 1, .b = 2 };
 
+       /* Trailing comma in enum */
+       enum { first, second, } quux;
+
        /* Boolean type */
        bool bar = false;
 

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to