Subject: Re: use of C99 revisited
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: tech-kern
Date: 04/23/2006 17:36:05
David Laight wrote:
> On Fri, Apr 21, 2006 at 11:33:48AM -0700, Garrett D'Amore wrote:
>   
>> I.e. it would be nice to use C99 structure initialization in my flash
>> memory stuff.  I don't think this is likely to be used (or be useful) in
>> Vaxen.  (Recall, the vax port is the last one to still require gcc 2.x.)
>>     
>
> I used C99 array initialisers (or at least intended to use the C99 syntax)
> in sh/syntax.c.  This must build on vax.
>
> However I refrained from doing so in sys/disklabel.h because this has to
> compile in host tools.  And the C compiler for a very common O/S doesn't
> support them with any syntax.
>
> 	David
>
>   

Okay, so not safe in the host tools, but in native only stuff its okay?

    -- Garrett

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191