www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
X-Authentication-Warning: | hp2.xraylith.wisc.edu: khan owned process doing -bs |
Date: | Tue, 30 Jan 2001 10:50:54 -0600 (CST) |
From: | Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU> |
To: | AJ Reins <tbisp AT qwest DOT net> |
cc: | CygWin Mailing List <cygwin AT sources DOT redhat DOT com> |
Subject: | Re: Bug in /usr/include/mingw/assert.h (w/patch) |
In-Reply-To: | <3A763D86.2C5030C3@qwest.net> |
Message-ID: | <Pine.HPP.3.96.1010130104937.28810m-100000@hp2.xraylith.wisc.edu> |
MIME-Version: | 1.0 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |