Mail Archives: djgpp/1998/05/17/01:20:07
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 -