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

Jan Kratochvil
2012-06-13T08:49:16Z

On Wed, 13 Jun 2012 10:30:11 +0200, Mark Kettenis wrote:
> At the risk of turning this into a bikeshed:
>
> Isn't it simpler to just put a dummy member inside that struct, and forget
> about the #if 0 stuff?

I believe in a rule runtime on GNU system should not be negatively affected by
non-GNU systems defects compatibility.

The really correct way in this case is to autoconf compiler support for empty
structs and put there that dummy member but only on those non-GNU systems.

I can do so if anybody does not like the #if 0 construct.

Thanks,
Jan