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

Re: gcc-4.3.0 compilation problem



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 ?

Eric



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