gcc-4.3.0 compilation problem

Christopher Aillon caillon at redhat.com
Thu Feb 7 19:31:58 UTC 2008


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.




More information about the fedora-devel-list mailing list