This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Flexible array member initializers


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@gmail.com
"If you're going to shift my paradigm ... at least buy me dinner first."
========================================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]