On Thu, Dec 6, 2012 at 11:12 PM, Vincent Torri <[email protected]> wrote: > On Thu, Dec 6, 2012 at 3:08 PM, thomasg <[email protected]> wrote: >> On Thu, Dec 6, 2012 at 12:57 PM, Vincent Torri >> <[email protected]>wrote: >> >>> so it's a problem with clang. Fix your CC, then >>> >>> >> Is it really? >> dns_rr_foreach is defined as "for (struct dns_rr_i DNS_PP_XPASTE(i, >> __LINE__) = *dns_rr_i_new((P), __VA_ARGS__); ..." in dns.h >> As this is a declaration in the loop, it seems that clang's complaining is >> correct, this is a C99 feature. >> >> So I think, a C99 compiler should be required, even if GCC does not >> complain. > > or move the declaration outside the loop...
I think this is some code we pull from outside. So we need to fix upstream first before we do this kind of move... -- Cedric BAIL ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
