2
0
mirror of https://github.com/boostorg/odeint.git synced 2026-01-19 04:22:12 +00:00

Fix macro logic for Apple clang

This commit is contained in:
Matt Borland
2023-12-22 05:45:45 -05:00
parent 34cc7eb40e
commit b53cf6070b
9 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@
#include <complex>
#include <boost/type_traits/is_floating_point.hpp>
#if defined(__clang__) && __clang_major__ >= 13
#if defined(__clang__) && __clang_major__ >= 13 && !defined(__APPLE__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
#elif defined(__clang__) && __clang_major__ >= 10

View File

@@ -20,7 +20,7 @@
#define BOOST_NUMERIC_ODEINT_STEPPER_ADAMS_BASHFORTH_MOULTON_HPP_INCLUDED
// Need this PR to be merged to actually fix the issue: https://github.com/boostorg/ublas/pull/153
#if defined(__clang__) && __clang_major__ >= 13
#if defined(__clang__) && __clang_major__ >= 13 && !defined(__APPLE__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
#elif defined(__clang__) && __clang_major__ >= 10

View File

@@ -19,7 +19,7 @@
#ifndef BOOST_NUMERIC_ODEINT_STEPPER_IMPLICIT_EULER_HPP_INCLUDED
#define BOOST_NUMERIC_ODEINT_STEPPER_IMPLICIT_EULER_HPP_INCLUDED
#if defined(__clang__) && __clang_major__ >= 13
#if defined(__clang__) && __clang_major__ >= 13 && !defined(__APPLE__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
#elif defined(__clang__) && __clang_major__ >= 10

View File

@@ -21,7 +21,7 @@
#define BOOST_NUMERIC_ODEINT_STEPPER_ROSENBROCK4_HPP_INCLUDED
// Need this PR to be merged to actually fix the issue: https://github.com/boostorg/ublas/pull/153
#if defined(__clang__) && __clang_major__ >= 13
#if defined(__clang__) && __clang_major__ >= 13 && !defined(__APPLE__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
#elif defined(__clang__) && __clang_major__ >= 10

View File

@@ -19,7 +19,7 @@
#define BOOST_NUMERIC_ODEINT_UTIL_UBLAS_WRAPPER_HPP_INCLUDED
// Need this PR to be merged to actually fix the issue: https://github.com/boostorg/ublas/pull/153
#if defined(__clang__) && __clang_major__ >= 13
#if defined(__clang__) && __clang_major__ >= 13 && !defined(__APPLE__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
#elif defined(__clang__) && __clang_major__ >= 10

View File

@@ -17,7 +17,7 @@
#define BOOST_TEST_MODULE odeint_integrate_functions_implicit
// Need this PR to be merged to actually fix the issue: https://github.com/boostorg/ublas/pull/153
#if defined(__clang__) && __clang_major__ >= 13
#if defined(__clang__) && __clang_major__ >= 13 && !defined(__APPLE__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
#elif defined(__clang__) && __clang_major__ >= 10

View File

@@ -21,7 +21,7 @@
#endif
// Need this PR to be merged to actually fix the issue: https://github.com/boostorg/ublas/pull/153
#if defined(__clang__) && __clang_major__ >= 13
#if defined(__clang__) && __clang_major__ >= 13 && !defined(__APPLE__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
#elif defined(__clang__) && __clang_major__ >= 10

View File

@@ -15,7 +15,7 @@
#pragma warning(disable:4996)
#endif
#if defined(__clang__) && __clang_major__ >= 13
#if defined(__clang__) && __clang_major__ >= 13 && !defined(__APPLE__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
#elif defined(__clang__) && __clang_major__ >= 10

View File

@@ -22,7 +22,7 @@
#endif
// Need this PR to be merged to actually fix the issue: https://github.com/boostorg/ublas/pull/153
#if defined(__clang__) && __clang_major__ >= 13
#if defined(__clang__) && __clang_major__ >= 13 && !defined(__APPLE__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-copy-with-user-provided-copy"
#elif defined(__clang__) && __clang_major__ >= 10