I did a very straightforward rebase, and things magically disappear that I 
haven't touch anything near.

I believe git made a mistake.  (And because I reported this, the Android guys I 
work with are describing similar behavior.)

Can you point me to where the -std=c99 flags are supposed to be set?  I would 
rather you do that than let me fix it and tell me I did it wrong.

John

-----Original Message-----
From: Keane, Erich 
Sent: Friday, May 08, 2015 11:08 AM
To: Light, John J
Cc: iotivity-dev at lists.iotivity.org
Subject: Re: [dev] build broken (for loops)

It seems in attempts to rebase you may have lost a few -std=c99 flags.

On Fri, 2015-05-08 at 18:03 +0000, Light, John J wrote:
> When I compile, I get
> 
>  
> 
> 'for' loop initial declarations are only allowed in C99 mode
> 
>  
> 
> all over the place.  I haven?t done anything I know of to change the 
> build options.
> 
>  
> 
> Clearly, the code used to build, and now it doesn?t.  I thought the 
> modern C style (and compiler) disallowed initial declarations because 
> of the confusion about scope.
> 
>  
> 
> What are we supposed to do here?  I?m changing the code to pass since 
> I have no clue about how the compiler options are supposed to be set.
> 
>  
> 
> Please advise.
> 
>  
> 
> John
> 
> 
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to