3 ms·
Looks like GCC doesn't have a pragma to enable it on a per-object-file basis. Pity. From the pragma docs I get the impression it's not so much that it would be
by MaxBarraclough 8y ago
Looks like GCC doesn't have a pragma to enable it on a per-object-file basis. Pity. From the pragma docs I get the impression it's not so much that it would be a bad idea, as simply not something they've got round to implementing.
I don't imagine it's possible to check using a static assert, either.
https://gcc.gnu.org/onlinedocs/gcc/Pragmas.html#Pragmas https://gcc.gnu.org/onlinedocs/gcc/Pragmas.html#Pragmas