Browse Source

Make sure that a recent dsp compiler warnings fix is only applied to newer gcc versions

tags/2021-05-28
hogliux 7 years ago
parent
commit
bb78ed2006
3 changed files with 6 additions and 6 deletions
  1. +2
    -2
      modules/juce_dsp/native/juce_avx_SIMDNativeOps.h
  2. +2
    -2
      modules/juce_dsp/native/juce_neon_SIMDNativeOps.h
  3. +2
    -2
      modules/juce_dsp/native/juce_sse_SIMDNativeOps.h

+ 2
- 2
modules/juce_dsp/native/juce_avx_SIMDNativeOps.h View File

@@ -31,7 +31,7 @@ namespace dsp
#ifndef DOXYGEN #ifndef DOXYGEN
#if JUCE_GCC
#if JUCE_GCC && (__GNUC__ >= 6)
#pragma GCC diagnostic push #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-attributes" #pragma GCC diagnostic ignored "-Wignored-attributes"
#endif #endif
@@ -705,7 +705,7 @@ struct SIMDNativeOps<uint64_t>
#endif #endif
#if JUCE_GCC
#if JUCE_GCC && (__GNUC__ >= 6)
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif #endif


+ 2
- 2
modules/juce_dsp/native/juce_neon_SIMDNativeOps.h View File

@@ -31,7 +31,7 @@ namespace dsp
#ifndef DOXYGEN #ifndef DOXYGEN
#if JUCE_GCC
#if JUCE_GCC && (__GNUC__ >= 6)
#pragma GCC diagnostic push #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-attributes" #pragma GCC diagnostic ignored "-Wignored-attributes"
#endif #endif
@@ -467,7 +467,7 @@ struct SIMDNativeOps<double>
#endif #endif
#if JUCE_GCC
#if JUCE_GCC && (__GNUC__ >= 6)
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif #endif


+ 2
- 2
modules/juce_dsp/native/juce_sse_SIMDNativeOps.h View File

@@ -31,7 +31,7 @@ namespace dsp
#ifndef DOXYGEN #ifndef DOXYGEN
#if JUCE_GCC
#if JUCE_GCC && (__GNUC__ >= 6)
#pragma GCC diagnostic push #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-attributes" #pragma GCC diagnostic ignored "-Wignored-attributes"
#endif #endif
@@ -872,7 +872,7 @@ struct SIMDNativeOps<uint64_t>
#endif #endif
#if JUCE_GCC
#if JUCE_GCC && (__GNUC__ >= 6)
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif #endif


Loading…
Cancel
Save