On Sun, Jan 22, 2012 at 3:14 PM, Vincent Torri <[email protected]> wrote: > On Sun, Jan 22, 2012 at 3:05 PM, Gustavo Sverzut Barbieri > <[email protected]> wrote: >> On Sun, Jan 22, 2012 at 6:55 AM, Enlightenment SVN >> <[email protected]> wrote: >>> Log: >>> Eina "Fix" printf conversion format on Windows. printf family on Windows is >>> just plain weirdness >>> +#ifdef _WIN32 >>> +# define FMT_CHAR "%c" >>> +# define FMT_UCHAR "%c" >>> +# define FMT_XCHAR "%c" >>> +# define FMT_OCHAR "%c" >>> +# define FMT_2XCHAR "%2c" >>> +#else >>> +# define FMT_CHAR "%hhd" >>> +# define FMT_UCHAR "%hhu" >>> +# define FMT_XCHAR "%hhx" >>> +# define FMT_OCHAR "%hho" >>> +# define FMT_2XCHAR "%02hhx" >>> +#endif >> >> this is wrong. > > i'm not "wrong" and i know all you said. I'm porting to windows. And > you know what ? it's not possible to have hhu etc on Windows... > > Vincent > i forgot to say: until i find a correct solution, it will stay like that on Windows
Vincent ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
