https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124109
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |UNCONFIRMED
Ever confirmed|1 |0
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So the question is the max value for nVertex 8.
I don't think it is. Then the issue is in the struct itself:
struct GeoPoly {
int nVertex;
unsigned char hdr[4];
GeoCoord a[8];
};
this and has never been treated as a flexible trailing array.
GCC only documents [0], [], and [1] as being supported:
https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/C-Dialect-Options.html#index-fstrict-flex-arrays
So this seems like a sqlite3 issue rather than a GCC issue.