www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/17/10:14:58

Date: Sun, 17 May 1998 17:12:47 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: djgpp AT delorie DOT com
Subject: Re: Int handlers in DJGPP
In-Reply-To: <#IlQg0Qg9GA.268@uppubnews03>
Message-ID: <Pine.A32.3.91.980517170608.28084B-100000@ieva06.lanet.lv>
MIME-Version: 1.0


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019