Date: Sun, 17 May 1998 17:12:47 +0200 (WET) From: Andris Pavenis To: djgpp AT delorie DOT com Subject: Re: Int handlers in DJGPP In-Reply-To: <#IlQg0Qg9GA.268@uppubnews03> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sat, 16 May 1998, DeHackEd wrote: > >2) DJGPP doesn't seem to provide any set_new_handler() function, is there > >an equivalent function for this or do I have to do this myself?? > > > This is quite interesting. A lot of people say there is none, but I know there > is. > > Try this code. Just try it, and remember to use GXX or GPP or G++ or whatever it > is. >Screwed me up during the 2.8.1 upgrade... :) ^^^^^^^^^^^^^^^^ Yes if You have $DJDIR/lang/cxx in include file search path for C++. This is no more needed to specify it in DJGPP.ENV as compiler knows standard directories of include files without special telling. Consider using replacement of DJGPP.ENV which I placed in directory gnu/gcc-2.81. > > // Look in the DJGPP\LANG\CXX\STD\NEW.H header file... > This looks like NEW.H from 2.7.2.1. It's giving warning messages if used from gcc-2.8.1. 2.8.1 has it's own version in lib/gcc-lib/djgpp/2.81/include Andris