Re: Flexible array member initializers

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

 



On 01/08/2014 06:23 PM, Ángel González wrote:
I think you want to use an union, not a flexible array (yes, you will
overallocate for some types, but should be saner).

The problem with using a union is that it doesn't allow for storage
of *any* type -- a structure for example.

As I said in another post, I've realized that this simply isn't going
to work.  I'll just use a void pointer.

Thanks all!






[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