Re: Flexible array member initializers

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

 



On 01/08/2014 04:00 PM, Marc Glisse wrote:
With an empty file empty.c, try: gcc -dM -E empty.c
and see if there is anything you like in what it prints.

Cool!  Looks like I once more get to escape learning autoconf.  ;-)

But ... this is going to be a non-starter for anything but integer
types.  There's simply no way to do equivalent "bit twiddling" with
floating point or pointer types in a static initializer.

I think it's time to pull my head out of the rat hole and accept that
the odd extra void * isn't so bad ...

Thanks!

--
========================================================================
Ian Pilcher                                         arequipeno@xxxxxxxxx
"If you're going to shift my paradigm ... at least buy me dinner first."
========================================================================




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux