delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/09/07/21:23:30

Message-Id: <199809080123.BAA57220@out1.ibm.net>
From: "Mark E." <snowball3 AT usa DOT net>
To: djgpp-workers AT delorie DOT com
Date: Mon, 7 Sep 1998 20:26:05 +0000
MIME-Version: 1.0
Subject: would like to help...

Hi,
I downloaded the djdev202.zip and egcs1.1 and have been 
playing around with it for a day or two and managed to get the 
package working after reading the directions (hey, there's an 
idea!). I thought I'd give this compiler a torture test so I installed 
the latest version of SGI STL 3.11 after adjusting the filenames. I 
thought I'd report that it works well, except for the string class 
where I had to make some adjustments. (char_traits uses __null 
as a variable, which is now a keyword for some reason).

One adjustment I had to make was coming up with a bare bones 
wchar.h and wctype.h class to satisfy <string>. If no one objects, 
I'd like to develop and contribute code for some of the functions 
that belong in that header. Namely, the isw* functions (iswspace, 
iswpunct, etc) and a few others that wouldn't require studying the 
Unicode standard to develop.

And I've also modified my headers to include <sys\nulldef.h> to 
provide a common definition of NULL, since GNU deemed it 
neccessary to define NULL as __null in some of its C++ headers. 
I then replaced all instances of "#define NULL 0" in the headers 
with "#include <sys/nulldef.h>". That way, if GNU change NULL yet 
again, it could be changed in one place. Would that be worth 
contributing also?

Mark

-- 
Mark E. snowball3 AT usa DOT net
http://members.xoom.com/snowball3/

- Raw text -


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