Greg Stein wrote:
> On Fri, Oct 10, 2008 at 2:52 AM, Julian Foad <julianfoad_at_btopenworld.com> wrote:
>
>> ...
>>
>>>> + modcheck_baton_t modcheck_baton = { NULL, FALSE };
>>>> +
>>>> + modcheck_baton.adm_access = adm_access;
>>>>
>>> You can put adm_access into the initializer, rather than use a
>>> separate statement.
>>>
>> No, you can't use non-constant initializers in C'89. (You can in C'99/C
>> ++/GCC.)
>>
>
> Hmm. Are we trying to work against *that* old of a compiler?
>
Wouldn't be surprised if c99-style non-const initializer breaks on some
still valid version of Microsoft C. AFAIK MS doesn't even try to
modernize its C compiler any more ...
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-10 15:28:39 CEST