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]

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


Hello, I noticed that the definition of assert masks
accidental assignment errors that gcc would detect
in any other context, so wrote a patch:

  https://bugzilla.redhat.com/show_bug.cgi?id=1105335

Two questions:

  - can anyone see a problem with the patch I proposed?
  - do you think it's reasonable to push before the release?

Thanks,
Jim


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