[FFmpeg-devel] [PATCH] atoll() replacement for WinCE

İsmail Dönmez ismail
Mon Jul 20 13:46:42 CEST 2009


2009/7/15 M?ns Rullg?rd <mans at mansr.com>
>
> ?smail D?nmez <ismail at namtrac.org> writes:
>
> > On Wed, Jul 15, 2009 at 11:48 AM, Martin Storsj?<martin at martin.st> wrote:
> >> On Wed, 15 Jul 2009, Ismail D?nmez wrote:
> >>
> >>> > 2009/7/15 M?ns Rullg?rd <mans at mansr.com>:
> >>> > Ismail D?nmez <ismail at namtrac.org> writes:
> >>> >> WinCE lacks an atoll() implementation. Attached patch adds a very
> >>> >> basic, no error checking [0] implementation. Is it ok or should I try
> >>> >> to add a full implementation?
> >>> >
> >>> > Does it have strtoll()?
> >>>
> >>> Apperently not.
> >>
> >> Umm, it seems to work just fine for me. It's not part of the actual WinCE
> >> platform, but mingw32ce contains a wrapper in libmingwex.a (that's linked
> >> in automatically).
> >
> > Anyhow the main problem is -std=c99 implies __STRICT_ANSI__ which in
> > turn shadows atoll() and friends' definition.
>
> And that's a bug. ?atoll() is standard C99.

FWIW this is now fixed in cegcc SVN.

Regards.

--
?smail D?NMEZ



More information about the ffmpeg-devel mailing list