Attempting to sizeof a field array throws ```
hud.qc:478: warning: Is this still needed?
hud.qc:478: error: Address-of operator is not supported in this form without extensions. Consider the use of: #pragma target fte
MVP:
.int field[10];
entity ent;
int x = sizeof(ent.field);
https://sourceforge.net/p/fteqw/tickets/90/
paril101 wrote on 2020-07-09:
Attempting to sizeof a field array throws ``` hud.qc:478: warning: Is this still needed? hud.qc:478: error: Address-of operator is not supported in this form without extensions. Consider the use of: #pragma target fte
MVP:
.int field[10]; entity ent; int x = sizeof(ent.field);