Flexible array member initializers
Ian Pilcher
arequipeno@gmail.com
Sat Jan 11 02:03:00 GMT 2014
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!
More information about the Gcc-help
mailing list