Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys (protosw.h:1.39)



David Laight wrote:
> On Mon, Aug 28, 2006 at 08:29:29PM -0700, Jason Thorpe wrote:
>   
>> Perhaps we should be using explicit structure initializers instead, e.g.
>>
>> struct foo aFoo = {
>>      .foo_field = 1,
>>      .foo_member = "woot",
>> };
>>     
>
> However we can't do that for tools that has to go through a system's
> native C compiler.
> Guess which one doesn't support it :-)
>
>       David
>
>   

Shouldn't any C99 supporting compiler support this? If nothing else,
users can bootstrap a native GCC, if their own native compilers are not
up to snuff.

-- 
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




Home | Main Index | Thread Index | Old Index