Re: portability of "designated initializers" - Mailing list pgsql-hackers

From Tom Lane
Subject Re: portability of "designated initializers"
Date
Msg-id 16747.1227398757@sss.pgh.pa.us
Whole thread Raw
In response to portability of "designated initializers"  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: portability of "designated initializers"  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> I wonder how portable designated initializers are.  As far as I can tell
> they were only defined in C99.  Can we use them in our source?

I'd vote no.  We're still targeting ANSI C (eg, no // comments).

> I mean something like this:

Where/why do you need to do that?
        regards, tom lane


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Cool hack with recursive queries
Next
From: Alvaro Herrera
Date:
Subject: Re: portability of "designated initializers"