Skip to content
  • Aleksy Barcz's avatar
    compile with -fno-strict-aliasing · ddc92d09
    Aleksy Barcz authored
    + with -O2, -fstrict-aliasing is enabled by default, which may cause undefined behavior (since C2011) when we dereference e.g. uint16_t[4] as a double
    + avoid undefined behavior by disabling this optimisation
    + in the future it would be probably better to use standard-supported methods for conversions (to be determined)
    ddc92d09