[Bug libc/20386] assert (X = 0) does not result in GCC warning

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Sun Dec 18 14:36:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=20386

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.25

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Fixed in:

commit e077349ce589466eecd47213db4fae6b80ec18c4
Author: Jim Meyering <meyering@fb.com>
Date:   Thu Jun 5 10:42:05 2014 -0700

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list