gcc-4.3.0 compilation problem
Benjamin Kreuter
ben.kreuter at gmail.com
Fri Feb 8 00:22:50 UTC 2008
On Thursday 07 February 2008 18:40:47 Kevin Kofler wrote:
> Steve Grubb <sgrubb <at> redhat.com> writes:
> > #include <limits.h>
>
> This is C++, limits.h is deprecated in C++, you should:
> #include <climits>
> instead.
>
> Kevin Kofler
The error indicated that the missing function was getenv(), not std::getenv().
Although it is possible that the file had a "using namespace std;" somewhere,
there is no real way to tell. If that line is not present, then climits
won't help much (unless that line is added, or "using std::getenv();", as it
should be).
-- Benjamin Kreuter
--
Message sent on: Thu Feb 7 19:19:27 EST 2008
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080207/02b46d64/attachment.sig>
More information about the fedora-devel-list
mailing list