On Thu, 2008-09-18 at 00:11 +0100, Pedro Alves wrote:
> > Don't define getenv and system.
>
> > Modified: trunk/cegcc/src/mingw/include/stdlib.h
> > ===================================================================
> > --- trunk/cegcc/src/mingw/include/stdlib.h 2008-09-04 18:28:26 UTC (rev
> > 1171) +++ trunk/cegcc/src/mingw/include/stdlib.h 2008-09-04 18:45:10 UTC
> > (rev 1172) @@ -380,10 +380,12 @@
> > /* Note: This is in startup code, not imported directly from dll */
> > int __cdecl atexit (void (*)(void));
> >
> > +#ifndef _WIN32_WCE
> > #ifndef __COREDLL__
> > _CRTIMP int __cdecl system (const char*);
> > _CRTIMP char* __cdecl getenv (const char*);
> > #endif
> > +#endif
>
> This doesn't look right. Why wasn't the __COREDLL__ guard
> enough here? Notice that nothing else under src/mingw/ is
> conditionalised on _WIN32_WCE.
Hmm, maybe I was confused : __COREDLL__ is always defined in
arm-mingw32ce, I somehow thought it was not.
I can't roll back right now, my SVN is locked because I'm still
uploading gcc-4.3.2 .
Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel