[commit] [patchv2] Fix Sun compiler compat. for empty structs (PR build/14003)

Jan Kratochvil
2012-06-13T18:19:15Z

Hi Joel,

On Wed, 13 Jun 2012 16:47:16 +0200, Joel Brobecker wrote:
> > I believe in a rule runtime on GNU system should not be negatively affected by
> > non-GNU systems defects compatibility.
>
> But I don't understand why you would say that, since it's not a GNU vs
> non-GNU. It's a correctness issue. We're just lucky that GCC accepts it.

Because if GNU components use only the lowest common denominator of all the
other OSes, they can barely ever catch up those.

> How many instances of this struct are we talking about?

That's about principles.

> > I can do so if anybody does not like the #if 0 construct.
>
> Just repeating what I said before: I am OK with that,

I have tried today to install Solaris 11 but I failed to install Solaris
Studio (the compiler) into it, it wants include files not present anywhere.
I wanted to (write and) test the autoconf variant there.

Therefore checked in the #if 0 variant:
http://sourceware.org/ml/gdb-cvs/2012-06/msg00098.html

Thanks,
Jan