• Davi Arnaut's avatar
    Bug#42733: Type-punning warnings when compiling MySQL -- · d5e8508f
    Davi Arnaut authored
               strict aliasing violations.
    
    Post-merge fix: include my_compiler.h before my_attribute.h
    as the latter will undef __attribute__ if the compiler is not
    GCC. Based on the compiler version, in my_compiler.h we know
    for sure whether the aligned attribute is supported. Furthermore,
    undefining attribute might cause bugs if some system header
    uses it.
    d5e8508f
spatial.h 15.5 KB