gcc-4.3.0 compilation problem

Laurent Rineau laurent.rineau__fedora at normalesup.org
Thu Feb 7 19:42:37 UTC 2008


On Thursday 07 February 2008 20:31:58 Christopher Aillon wrote:
> 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.

See algo http://gcc.gnu.org/gcc-4.3/porting_to.html
Although that is not relevant for getenv.

-- 
Laurent Rineau
http://fedoraproject.org/wiki/LaurentRineau




More information about the fedora-devel-list mailing list