Skip to content
Snippets Groups Projects
  • Administrator's avatar
    e924c3e6
    Fix compiler warnings when using Clang · e924c3e6
    Administrator authored
    The KF and L1 packages set special compiler flags. Some of the warnings are
    not present when using Clang such that a CMake check was implemented which
    test the existense of those. The check simply compiles some C++ code with the
    compiler flag added to the compile command. Unfortunately Clang only prints a
    warning when a warning flag doesn't exist but successfuly finishes the
    compilation such that the check suceeds. This results in many warnings during
    compilation of L1.
    e924c3e6
    History
    Fix compiler warnings when using Clang
    Administrator authored
    The KF and L1 packages set special compiler flags. Some of the warnings are
    not present when using Clang such that a CMake check was implemented which
    test the existense of those. The check simply compiles some C++ code with the
    compiler flag added to the compile command. Unfortunately Clang only prints a
    warning when a warning flag doesn't exist but successfuly finishes the
    compilation such that the check suceeds. This results in many warnings during
    compilation of L1.