This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Bug in /usr/include/mingw/assert.h (w/patch)
- To: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Subject: Re: Bug in /usr/include/mingw/assert.h (w/patch)
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Tue, 30 Jan 2001 13:00:06 -0500
- CC: AJ Reins <tbisp at qwest dot net>, CygWin Mailing List <cygwin at cygwin dot com>
- References: <Pine.HPP.3.96.1010130104937.28810m-100000@hp2.xraylith.wisc.edu>
- Reply-To: Earnie Boyd <cygwin at cygwin dot com>
Mumit Khan wrote:
>
> 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.
>
I'm already taking care of it.
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple