• Peter Eisentraut's avatar
    Start using flexible array members · dbbba527
    Peter Eisentraut authored
    Flexible array members are a C99 feature that avoids "cheating" in the
    declaration of variable-length arrays at the end of structs.  With
    Autoconf support, this should be transparent for older compilers.
    
    We start with one use in gist.h because gcc 4.6 started to raise a
    warning there.  Over time, it can be expanded to other places in the
    source, but they will likely need some review of sizeof and offsetof
    usage.  The current change in gist.h appears to be safe in this
    regard.
    dbbba527
configure 843 KB