Skip to content
Snippets Groups Projects
Commit 8dcff4a8 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Disable -Wbool-operation as well

parent 72b9b470
No related branches found
No related tags found
1 merge request!1160Disable warnings in clang properly
Pipeline #52919 passed
Pipeline: Dune Nightly Test

#52925

    ......@@ -30,12 +30,13 @@ namespace Dune {
    * a bool (when instantiated for T=bool)
    */
    #ifdef __clang__
    #if __has_warning("-Wbitwise-instead-of-logical")
    # pragma clang diagnostic push
    # pragma clang diagnostic ignored "-Wbitwise-instead-of-logical"
    # pragma clang diagnostic ignored "-Wbool-operation"
    # if __has_warning("-Wbitwise-instead-of-logical")
    # pragma clang diagnostic ignored "-Wbitwise-instead-of-logical"
    # endif
    # define CLANG_WARNING_DISABLED
    #endif
    #endif
    /*
    * Introduce a simd pragma if OpenMP is available in standard version >= 4
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment