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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user