delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/06/09:21:39

From: Stephen Silver <sasilver AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: #include <limits>
Date: 6 Jan 2001 14:15:35 GMT
Organization: none
Lines: 19
Message-ID: <9379a7$dv4$1@newsg2.svr.pol.co.uk>
References: <3A570B97 DOT F3FBA15B AT bigpond DOT com>
NNTP-Posting-Host: modem-85.missouri.dialup.pol.co.uk
X-Trace: newsg2.svr.pol.co.uk 978790535 14308 62.137.76.85 (6 Jan 2001 14:15:35 GMT)
NNTP-Posting-Date: 6 Jan 2001 14:15:35 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Frobozz Magic Newsreader
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


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