Mail Archives: djgpp/2001/01/06/09:21:39
Ben Harris wrote:
> Hi guys, I'm just wondering if it is a coincidence that my DJGPP package
> didn't come with a <limits> header or if it's me...
DJGPP doesn't have a <limits> header. I wrote one for my own use which
I've just uploaded to http://www.argentum.freeserve.co.uk/cpp/limits in
case anyone wants a copy. I've tested this on MinGW as well as DJGPP.
It's not quite complete, as I haven't implemented some of the member
functions of the floating point specializations (because they are of no
interest to me, and it wasn't immediately obvious to me how they should
be defined). I haven't used this header very extensively, so there may
be other problems which I haven't noticed.
Even recent development snapshots of libstdc++ don't implement <limits>.
This is not really surprising, as it's platform dependent and so best
left to those who maintain GCC ports.
Stephen
- Raw text -