www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/17/01:20:07

From: "Paul Derbyshire" <pderbysh AT usa DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT A32 DOT 3 DOT 91 DOT 980516095453 DOT 75848B-100000 AT ieva01 DOT lanet DOT lv>
Subject: Re: Missing headers again!
Lines: 34
Organization: The Chaos Zone
MIME-Version: 1.0
Message-ID: <Xbu71.1266$qR3.4701005@news20.bellglobal.com>
Date: Sun, 17 May 1998 05:02:47 GMT
NNTP-Posting-Host: 206.172.228.69
NNTP-Posting-Date: Sun, 17 May 1998 01:02:47 EDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Andris Pavenis wrote...
><limits> is nowhere used in libstdc++ itself. There is <limits.h> in
>$DJDIR/include and <climits> in $DJDIR/lang/cxx which only includes
>limits.h. The same in Linux where I also compiled libstdc++-2.8.1.1
>from sources with much less changes than for DJGPP. So I think You should
>use <climits>

Well then where the heck is numeric_limits, as described in Stroustrup 3rd
Ed.???
Stroustrup says it's in <limits> ... not <limits.h> and not <climits> but plain
<limits>.

>About <wctype.h>. It's really is not present for DJGPP.
>For Linux it is in GNU C library libc-5.4.XX. Such file is not
>present in djdev201.zip so perhaps we'll have to live now without it.
>I don't think this is big problem as it is used in STL from 2 files only
>lang/cxx/cwctype and lang/cxx/std/cwctype.h (these files only includes
>wctype.h).

Stroustrup says the wide character classifying functions are in <cwtype> and
<wtype.h>; but I can't find either, the closest in DJGPP are <cwctype> and the
nonexistent <wctype.h>... what the hell is going on here anyways? I notice also
that the compiler can't find auto_ptr even when I am certain to include
<memory>, and struct nothrow_t is missing from <new>...

--
   .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
-()  <  circles, and bark is not smooth, nor does lightning travel in a
   `*'  straight line."    -------------------------------------------------
        -- B. Mandelbrot  |http://www3.sympatico.ca/bob.beland/indexn2f.html
_____________________ ____|________     Paul Derbyshire     pderbysh AT usa DOT net
Programmer & Humanist|ICQ: 10423848|


- Raw text -


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