Hello,

It seems to me that this was removed in the last merge. It causes
atoll() not to be declared for me.


--- trunk/cegcc/src/mingw/include/stdlib.h      (révision 1398)
+++ trunk/cegcc/src/mingw/include/stdlib.h      (copie de travail)
@@ -562,6 +562,10 @@
   {return (_j >= 0 ? _j : -_j);}
 #endif
 
+/* C99 addition, this used to be blocked by __STRICT_ANSI__ (see below). */
+__CRT_INLINE long long  __cdecl __MINGW_NOTHROW atoll (const char * _c)
+       { return _atoi64 (_c); }
+
 long long  __cdecl __MINGW_NOTHROW strtoll (const char* __restrict__, char** 
__restrict, int);
 unsigned long long  __cdecl __MINGW_NOTHROW strtoull (const char* 
__restrict__, char** __restrict__, int);
 
@@ -576,8 +580,6 @@
 
   /* inline using non-ansi functions */
 #ifndef __NO_INLINE__
-__CRT_INLINE long long  __cdecl __MINGW_NOTHROW atoll (const char * _c)
-       { return _atoi64 (_c); }
 __CRT_INLINE char*  __cdecl __MINGW_NOTHROW lltoa (long long _n, char * _c, 
int _i)
        { return _i64toa (_n, _c, _i); }
 __CRT_INLINE char*  __cdecl __MINGW_NOTHROW ulltoa (unsigned long long _n, 
char * _c, int _i)


Regards,

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to