section attribute of compound literals
Jason A. Donenfeld
Jason@zx2c4.com
Fri Sep 14 15:17:00 GMT 2018
Hi Jim,
That becomes a bit harder when there are many many items:
https://git.zx2c4.com/WireGuard/tree/src/crypto/zinc/selftest/chacha20poly1305.h#n87
Here I'd like to use compound literals to avoid wasting space, as
several members are variably sized. Unfortunately I can't do that per
https://git.zx2c4.com/WireGuard/commit/?id=f4698d20f13946afc6ce99e98685ba3f9adc4474
Jason
More information about the Gcc
mailing list