Bug in /usr/include/mingw/assert.h (w/patch)
Mumit Khan
khan@NanoTech.Wisc.EDU
Tue Jan 30 08:51:00 GMT 2001
On Mon, 29 Jan 2001, AJ Reins wrote:
> There is a small bug in /usr/include/mingw/assert.h. Here is the
> patch.
> *** assert.h.old Mon Dec 25 11:44:58 2000
> --- assert.h Mon Jan 29 10:57:24 2001
> ***************
> *** 41,47 ****
> /*
> * If not debugging, assert does nothing.
> */
> ! #define assert(x) ((void)0);
>
> #else /* debugging enabled */
>
> --- 41,47 ----
> /*
> * If not debugging, assert does nothing.
> */
> ! #define assert(x) ((void)0)
>
> #else /* debugging enabled */
Thanks for the patch. These macros were written rather sloppily in the
first place, and we ought to track these and fix. I may have a local
patch in place already, so will take a look. Otherwise yours will go
in.
Regards,
Mumit
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list