This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: assert.h: allow gcc to detect assert(a = 1) errors


On Tue, Jul 15, 2014 at 7:02 PM, Paul Eggert <eggert@cs.ucla.edu> wrote:
> Doesn't the "#ifdef __STRICT_ANSI__" need to be "#if !defined __GNUC__ ||
> defined __STRICT_ANSI__"?

Good point.  I've updated the patch.

> Too bad 'assert' can't warn about its argument having side effects....
>
> We're sort of in a freeze, so I'd wait.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]