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

Re: gcc-4.3.0 compilation problem



Le jeudi 07 février 2008 à 14:31 -0500, Christopher Aillon a écrit :
> On 02/07/2008 02:33 PM, Tanguy Eric wrote:
> > Le mercredi 06 février 2008 à 21:34 +0000, Kevin Kofler a écrit :
> >> Tanguy Eric <eric.tanguy <at> univ-nantes.fr> writes:
> >>> http://sunsite.mff.cuni.cz/rawhide20071220-gcc43/header-dep/freehdl-0.0.4-4.fc8.log
> >> These are also all missing #include statements: wherever memcpy, strcpy, strlen 
> >> etc. are undeclared, an #include <cstring> is needed, and either "using 
> >> namespace std;" or "using std::memcpy;" and likewise for the other functions 
> >> used.
> >>
> > OK thanks
> > But where can i find which include i have to add for a given error.
> > For example now i have : 
> > mapping.cc:120: error: 'getenv' was not declared in this scope
> > 
> > I suppose i have to add in mapping.cc #include <something> but how i
> > find what is something ?
> 
> The man/info pages usually help.
> 
Thanks it works for getenv but now i have one more error : 
error: 'INT_MAX' was not declared in this scope
and man/info do not help ...
Eric



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