[E-devel] std=c99 for ecore_con dns.c got missing

2012-12-06 Thread Stefan Schmidt
Hello. Either during the merge of ecore into efl or during Gustavos changes the std=c99 passing to ecore_con got missing. I just found it while compiling with clang. No time right now to dig into this so only the report here. Added it to my local cflags for now. regards Stefan Schmidt

Re: [E-devel] std=c99 for ecore_con dns.c got missing

2012-12-06 Thread Vincent Torri
On Thu, Dec 6, 2012 at 11:28 AM, Stefan Schmidt s.schm...@samsung.com wrote: Hello. Either during the merge of ecore into efl or during Gustavos changes the std=c99 passing to ecore_con got missing. adding std=c99 is a BAD idea. Better use AC_PROG_CC_C99 if a c99 compiler is needed. But

Re: [E-devel] std=c99 for ecore_con dns.c got missing

2012-12-06 Thread Stefan Schmidt
Hello. On 06/12/12 10:34, Vincent Torri wrote: On Thu, Dec 6, 2012 at 11:28 AM, Stefan Schmidt s.schm...@samsung.com wrote: Hello. Either during the merge of ecore into efl or during Gustavos changes the std=c99 passing to ecore_con got missing. adding std=c99 is a BAD idea. Better use

Re: [E-devel] std=c99 for ecore_con dns.c got missing

2012-12-06 Thread Vincent Torri
so it's a problem with clang. Fix your CC, then On Thu, Dec 6, 2012 at 11:59 AM, Stefan Schmidt s.schm...@samsung.com wrote: Hello. On 06/12/12 10:34, Vincent Torri wrote: On Thu, Dec 6, 2012 at 11:28 AM, Stefan Schmidt s.schm...@samsung.com wrote: Hello. Either during the merge of ecore

Re: [E-devel] std=c99 for ecore_con dns.c got missing

2012-12-06 Thread Stefan Schmidt
Hello. On 06/12/12 11:57, Vincent Torri wrote: so it's a problem with clang. Fix your CC, then Thanks, its not my CC. I have a way to build it for my cases. regards Stefan Schmidt -- LogMeIn Rescue: Anywhere, Anytime

Re: [E-devel] std=c99 for ecore_con dns.c got missing

2012-12-06 Thread thomasg
On Thu, Dec 6, 2012 at 12:57 PM, Vincent Torri vincent.to...@gmail.comwrote: 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

Re: [E-devel] std=c99 for ecore_con dns.c got missing

2012-12-06 Thread Vincent Torri
On Thu, Dec 6, 2012 at 3:08 PM, thomasg tho...@gstaedtner.net wrote: On Thu, Dec 6, 2012 at 12:57 PM, Vincent Torri vincent.to...@gmail.comwrote: 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__) =

Re: [E-devel] std=c99 for ecore_con dns.c got missing

2012-12-06 Thread Joerg Sonnenberger
On Thu, Dec 06, 2012 at 12:57:39PM +0100, Vincent Torri wrote: so it's a problem with clang. Fix your CC, then Clang defaults to C99, so this should only happen if it was explicitly instructed otherwise... Joerg --

Re: [E-devel] std=c99 for ecore_con dns.c got missing

2012-12-06 Thread Cedric BAIL
On Thu, Dec 6, 2012 at 11:12 PM, Vincent Torri vincent.to...@gmail.com wrote: On Thu, Dec 6, 2012 at 3:08 PM, thomasg tho...@gstaedtner.net wrote: On Thu, Dec 6, 2012 at 12:57 PM, Vincent Torri vincent.to...@gmail.comwrote: so it's a problem with clang. Fix your CC, then Is it really?