[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] [patch #7750] Add unit tests for DHCP client
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-devel] [patch #7750] Add unit tests for DHCP client |
Date: |
Tue, 27 Mar 2012 17:00:35 +0200 |
Mason <address@hidden> wrote:
> Simon Goldschmidt wrote:
>
>> I mainly changed 3 things:
>> - put variable exclamation before code
>
> I think you mean "declaration" instead of "exclamation".
I hate automatic spelling correction on iOS :)
>
>> (this is ANSI C, not C++ or one of the newer C standards
>> - do they allow this?)
>
> Yes, mixed declarations and code have been allowed since C99
> (cf. the Foreword)
Yes, I thought so. We have decided to stay with an older standard (I think
we're using -ansi on gcc) to support as many compilers as possible.
Simon