Skip to content
  • Emmanuele Bassi's avatar
    Add a version check for duplicated-branches warning · 6cb6b418
    Emmanuele Bassi authored
    The GHashTable code ignores the duplicated-branches GCC warning, but we
    need to do a compiler and version check, as either non-GCC compatible
    compilers, or older versions of GCC will warn about the unknown pragma
    or diagnostic.
    
    If we don't do this while turning warnings into error, we're going to
    fail the build unnecessarily.
    6cb6b418