diff --git a/exporters/otlp/include/opentelemetry/exporters/otlp/protobuf_include_prefix.h b/exporters/otlp/include/opentelemetry/exporters/otlp/protobuf_include_prefix.h index 5431a5bdf7..dc674ce9eb 100644 --- a/exporters/otlp/include/opentelemetry/exporters/otlp/protobuf_include_prefix.h +++ b/exporters/otlp/include/opentelemetry/exporters/otlp/protobuf_include_prefix.h @@ -54,11 +54,13 @@ # pragma clang diagnostic ignored "-Wshadow" # pragma clang diagnostic ignored "-Wuninitialized" # pragma clang diagnostic ignored "-Wconversion" -# if !(((__clang_major__ * 100) + __clang_minor__) >= 305) -# pragma clang diagnostic ignored "-Wsuggest-override" +# if ((__clang_major__ * 100) + __clang_minor__) >= 305 +# pragma clang diagnostic ignored "-Wfloat-conversion" +# endif +# if ((__clang_major__ * 100) + __clang_minor__) >= 306 # pragma clang diagnostic ignored "-Winconsistent-missing-override" # endif -# if !(((__clang_major__ * 100) + __clang_minor__) >= 309) -# pragma clang diagnostic ignored "-Wfloat-conversion" +# if ((__clang_major__ * 100) + __clang_minor__) >= 1100 +# pragma clang diagnostic ignored "-Wsuggest-override" # endif #endif