it works for me, actually my first attempt was nearly the same but I thought the nested conditionals would maybe not be appreciated. Ok for me so.
Lionel On Tue, Feb 21, 2012 at 12:21 AM, Vincent Torri <vincent.to...@gmail.com> wrote: > On Tue, Feb 21, 2012 at 12:07 AM, Vincent Torri <vincent.to...@gmail.com> > wrote: >> On Mon, Feb 20, 2012 at 11:28 PM, Lionel Orry <lionel.o...@gmail.com> wrote: >>> Hi, >>> >>> while trying to install a fresh new efl stack on an old Fedora 10, I >>> got stuck on two errors that I could fix quite easliy. >>> Please review and apply if possible... >>> >>> - eina: the __gnu_printf__ format attribute is only valid since GCC >>> 4.4. However, we can find __printf__ format before. I'm not sure they >>> are equivalent though, so any hints on the fix appreciated... (tested >>> with GCC 4.3.4) >> >> hehe, i wanted to fix that this evening. I think i'll fix it differently, >> though > > can you try the patch below ? > > Vincent > > Index: src/include/eina_types.h > =================================================================== > --- src/include/eina_types.h (revision 68086) > +++ src/include/eina_types.h (working copy) > @@ -124,7 +124,11 @@ > # endif > > # if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) > -# define EINA_PRINTF(fmt, arg) __attribute__((__format__ > (__gnu_printf__, fmt, arg))) > +# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 3) > +# define EINA_PRINTF(fmt, arg) __attribute__((__format__ > (__gnu_printf__, fmt, arg))) > +# else > +# define EINA_PRINTF(fmt, arg) __attribute__((__format__ > (__printf__, fmt, arg))) > +# endif > # define EINA_SCANF(fmt, arg) __attribute__((__format__ (__scanf__, > fmt, arg))) > # define EINA_FORMAT(fmt) __attribute__((__format_arg__(fmt))) > # define EINA_CONST __attribute__((__const__)) > > ------------------------------------------------------------------------------ > 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 > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ 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 enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel