Message-ID: <3EBCF161.30CA55CC@yahoo.com> Date: Sat, 10 May 2003 08:32:33 -0400 From: CBFalconer Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: Reducing sbrk test on nmalloc] References: <3EBBF6E4 DOT CF2893B9 AT yahoo DOT com> <2950-Sat10May2003125017+0300-eliz AT elta DOT co DOT il> <3EBCE61D DOT 6861C887 AT yahoo DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com CBFalconer wrote: > Eli Zaretskii wrote: > > > From: CBFalconer > > > > ... snip ... > > > > > The unused warnings are expected > > > > The library build doesn't tolerate warnings, as we use -Werror. So > > please make changes to eliminate _all_ warnings. It is advisable to > > build the code using the exact set of compiler switches used by the > > library build (see the file src/gcc.opt in the library sources). > > To do that I need a safe name to guard the development switches, > with something like: > > #ifndef > ... > #endif > > at present I depend on NDEBUG being defined for production use. I > don't want to have to physically revise the source to enable debug > runs. This has been in there from day one and nobody said > anything. > > I am leaving tomorrow for about two weeks so it will have to wait. Also, how do you use that file in a makefile? -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net) Available for consulting/temporary embedded and systems. USE worldnet address!