From: Wolfgang Bangerth Date: Tue, 3 Dec 2019 18:20:33 +0000 (-0700) Subject: Use DEAL_II_WARNING instead. X-Git-Tag: v9.2.0-rc1~821^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9133%2Fhead;p=dealii.git Use DEAL_II_WARNING instead. --- diff --git a/include/deal.II/base/std_cxx11/array.h b/include/deal.II/base/std_cxx11/array.h index c34e24696d..147c97f8d0 100644 --- a/include/deal.II/base/std_cxx11/array.h +++ b/include/deal.II/base/std_cxx11/array.h @@ -16,11 +16,12 @@ #ifndef dealii_std_cxx11_array_h #define dealii_std_cxx11_array_h -#warning \ - "This file is deprecated. Simply use the corresponding C++11 header ." - #include +DEAL_II_WARNING( + "This file is deprecated. Simply use the corresponding C++11 header .") + + #include DEAL_II_NAMESPACE_OPEN namespace std_cxx11 diff --git a/include/deal.II/base/std_cxx11/bind.h b/include/deal.II/base/std_cxx11/bind.h index 7647deff95..9c89df6005 100644 --- a/include/deal.II/base/std_cxx11/bind.h +++ b/include/deal.II/base/std_cxx11/bind.h @@ -17,11 +17,11 @@ #define dealii_std_cxx11_bind_h -#warning \ - "This file is deprecated. Simply use the corresponding C++11 header ." - #include +DEAL_II_WARNING( + "This file is deprecated. Simply use the corresponding C++11 header .") + #include DEAL_II_NAMESPACE_OPEN diff --git a/include/deal.II/base/std_cxx11/condition_variable.h b/include/deal.II/base/std_cxx11/condition_variable.h index 730a5f0a8c..288abcbac9 100644 --- a/include/deal.II/base/std_cxx11/condition_variable.h +++ b/include/deal.II/base/std_cxx11/condition_variable.h @@ -16,11 +16,11 @@ #ifndef dealii_std_cxx11_condition_variable_h #define dealii_std_cxx11_condition_variable_h -#warning \ - "This file is deprecated. Simply use the corresponding C++11 header ." - #include +DEAL_II_WARNING( + "This file is deprecated. Simply use the corresponding C++11 header .") + #include DEAL_II_NAMESPACE_OPEN namespace std_cxx11 diff --git a/include/deal.II/base/std_cxx11/function.h b/include/deal.II/base/std_cxx11/function.h index 2efbc79f15..401c69e2da 100644 --- a/include/deal.II/base/std_cxx11/function.h +++ b/include/deal.II/base/std_cxx11/function.h @@ -16,11 +16,11 @@ #ifndef dealii_std_cxx11_function_h #define dealii_std_cxx11_function_h -#warning \ - "This file is deprecated. Simply use the corresponding C++11 header ." - #include +DEAL_II_WARNING( + "This file is deprecated. Simply use the corresponding C++11 header .") + #include DEAL_II_NAMESPACE_OPEN namespace std_cxx11 diff --git a/include/deal.II/base/std_cxx11/iterator.h b/include/deal.II/base/std_cxx11/iterator.h index 230f31b2d9..36c56e6ded 100644 --- a/include/deal.II/base/std_cxx11/iterator.h +++ b/include/deal.II/base/std_cxx11/iterator.h @@ -16,11 +16,12 @@ #ifndef dealii_std_cxx11_iterator_h #define dealii_std_cxx11_iterator_h -#warning \ - "This file is deprecated. Simply use the corresponding C++11 header ." - #include +DEAL_II_WARNING( + "This file is deprecated. Simply use the corresponding C++11 header .") + + #include DEAL_II_NAMESPACE_OPEN namespace std_cxx11 diff --git a/include/deal.II/base/std_cxx11/mutex.h b/include/deal.II/base/std_cxx11/mutex.h index 9c87e179da..d7e1a6c29e 100644 --- a/include/deal.II/base/std_cxx11/mutex.h +++ b/include/deal.II/base/std_cxx11/mutex.h @@ -16,11 +16,11 @@ #ifndef dealii_std_cxx11_mutex_h #define dealii_std_cxx11_mutex_h -#warning \ - "This file is deprecated. Simply use the corresponding C++11 header ." - #include +DEAL_II_WARNING( + "This file is deprecated. Simply use the corresponding C++11 header .") + #include DEAL_II_NAMESPACE_OPEN namespace std_cxx11 diff --git a/include/deal.II/base/std_cxx11/shared_ptr.h b/include/deal.II/base/std_cxx11/shared_ptr.h index 36089f472e..5d08fd996f 100644 --- a/include/deal.II/base/std_cxx11/shared_ptr.h +++ b/include/deal.II/base/std_cxx11/shared_ptr.h @@ -16,11 +16,12 @@ #ifndef dealii_std_cxx11_shared_ptr_h #define dealii_std_cxx11_shared_ptr_h -#warning \ - "This file is deprecated. Simply use the corresponding C++11 header ." - #include +DEAL_II_WARNING( + "This file is deprecated. Simply use the corresponding C++11 header .") + + #include DEAL_II_NAMESPACE_OPEN namespace std_cxx11 diff --git a/include/deal.II/base/std_cxx11/thread.h b/include/deal.II/base/std_cxx11/thread.h index cdfb4dd62b..72435db880 100644 --- a/include/deal.II/base/std_cxx11/thread.h +++ b/include/deal.II/base/std_cxx11/thread.h @@ -16,11 +16,11 @@ #ifndef dealii_std_cxx11_thread_h #define dealii_std_cxx11_thread_h -#warning \ - "This file is deprecated. Simply use the corresponding C++11 header ." - #include +DEAL_II_WARNING( + "This file is deprecated. Simply use the corresponding C++11 header .") + #include DEAL_II_NAMESPACE_OPEN namespace std_cxx11 diff --git a/include/deal.II/base/std_cxx11/tuple.h b/include/deal.II/base/std_cxx11/tuple.h index aa2606914f..7134fcbc89 100644 --- a/include/deal.II/base/std_cxx11/tuple.h +++ b/include/deal.II/base/std_cxx11/tuple.h @@ -16,11 +16,11 @@ #ifndef dealii_std_cxx11_tuple_h #define dealii_std_cxx11_tuple_h -#warning \ - "This file is deprecated. Simply use the corresponding C++11 header ." - #include +DEAL_II_WARNING( + "This file is deprecated. Simply use the corresponding C++11 header .") + #include DEAL_II_NAMESPACE_OPEN namespace std_cxx11 diff --git a/include/deal.II/base/std_cxx11/type_traits.h b/include/deal.II/base/std_cxx11/type_traits.h index 297640cd57..df195bc0f2 100644 --- a/include/deal.II/base/std_cxx11/type_traits.h +++ b/include/deal.II/base/std_cxx11/type_traits.h @@ -16,11 +16,12 @@ #ifndef dealii_std_cxx11_type_traits_h #define dealii_std_cxx11_type_traits_h -#warning \ - "This file is deprecated. Simply use the corresponding C++11 header ." - #include +DEAL_II_WARNING( + "This file is deprecated. Simply use the corresponding C++11 header .") + + #include DEAL_II_NAMESPACE_OPEN namespace std_cxx11 diff --git a/include/deal.II/base/std_cxx11/unique_ptr.h b/include/deal.II/base/std_cxx11/unique_ptr.h index d14404cd1a..5f1599b8ed 100644 --- a/include/deal.II/base/std_cxx11/unique_ptr.h +++ b/include/deal.II/base/std_cxx11/unique_ptr.h @@ -17,11 +17,12 @@ #define dealii_std_cxx11_unique_ptr_h -#warning \ - "This file is deprecated. Simply use the corresponding C++11 header ." - #include +DEAL_II_WARNING( + "This file is deprecated. Simply use the corresponding C++11 header .") + + #include DEAL_II_NAMESPACE_OPEN namespace std_cxx11