Re: gcc-4.3.0 compilation problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux