bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proposed support for C1X-style static_assert


From: Bruno Haible
Subject: Re: proposed support for C1X-style static_assert
Date: Sun, 29 May 2011 15:08:16 +0200
User-agent: KMail/1.9.9

Hi Paul,

> > "verify.h" no longer defines the 'verify' macro if
> > <assert.h> was already included in the same compilation unit.
> 
> Thanks, I pushed this fix:

This is better: The error is gone. But there are warnings now:

$ ./gnulib-tool --test assert-h exclude
...
In file included from ../../gllib/exclude.c:41:
../../gllib/verify.h:223:1: warning: "verify_true" redefined
In file included from ../../gllib/mbuiter.h:92,
                 from ../../gllib/exclude.c:38:
./assert.h:252:1: warning: this is the location of the previous definition
In file included from ../../gllib/exclude.c:41:
../../gllib/verify.h:228:1: warning: "verify" redefined
In file included from ../../gllib/mbuiter.h:92,
                 from ../../gllib/exclude.c:38:
./assert.h:257:1: warning: this is the location of the previous definition
...

Bruno
-- 
In memoriam John Penry <http://en.wikipedia.org/wiki/John_Penry>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]