Skip to content

Commit

Permalink
Merge Pull Request #13280 from sebrowne/Trilinos/deprecated-warnings
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: b'Xpetra: Make deprecation warnings optional'
PR Author: sebrowne
  • Loading branch information
trilinos-autotester authored Jul 24, 2024
2 parents 8f1a163 + a7459b0 commit 505da08
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/xpetra/cmake/Xpetra_config.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@

@XPETRA_DEPRECATED_DECLARATIONS@

#cmakedefine Xpetra_SHOW_DEPRECATED_WARNINGS

#endif // XPETRA_CONFIG_HPP
2 changes: 2 additions & 0 deletions packages/xpetra/src/CrsGraph/Xpetra_EpetraCrsGraph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@

#if defined(XPETRA_ENABLE_DEPRECATED_CODE)
#ifdef __GNUC__
#if defined(Xpetra_SHOW_DEPRECATED_WARNINGS)
#warning "The header file Trilinos/packages/xpetra/src/CrsGraph/Xpetra_EpetraCrsGraph.hpp is deprecated."
#endif
#endif
#else
#error "The header file Trilinos/packages/xpetra/src/CrsGraph/Xpetra_EpetraCrsGraph.hpp is deprecated."
#endif
Expand Down
2 changes: 2 additions & 0 deletions packages/xpetra/src/CrsMatrix/Xpetra_EpetraCrsMatrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@

#if defined(XPETRA_ENABLE_DEPRECATED_CODE)
#ifdef __GNUC__
#if defined(Xpetra_SHOW_DEPRECATED_WARNINGS)
#warning "The header file Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_EpetraCrsMatrix.hpp is deprecated."
#endif
#endif
#else
#error "The header file Trilinos/packages/xpetra/src/CrsMatrix/Xpetra_EpetraCrsMatrix.hpp is deprecated."
#endif
Expand Down
2 changes: 2 additions & 0 deletions packages/xpetra/src/Export/Xpetra_EpetraExport.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@

#if defined(XPETRA_ENABLE_DEPRECATED_CODE)
#ifdef __GNUC__
#if defined(Xpetra_SHOW_DEPRECATED_WARNINGS)
#warning "The header file Trilinos/packages/xpetra/src/Export/Xpetra_EpetraExport.hpp is deprecated."
#endif
#endif
#else
#error "The header file Trilinos/packages/xpetra/src/Export/Xpetra_EpetraExport.hpp is deprecated."
#endif
Expand Down
2 changes: 2 additions & 0 deletions packages/xpetra/src/Import/Xpetra_EpetraImport.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@

#if defined(XPETRA_ENABLE_DEPRECATED_CODE)
#ifdef __GNUC__
#if defined(Xpetra_SHOW_DEPRECATED_WARNINGS)
#warning "The header file Trilinos/packages/xpetra/src/Import/Xpetra_EpetraImport.hpp is deprecated."
#endif
#endif
#else
#error "The header file Trilinos/packages/xpetra/src/Import/Xpetra_EpetraImport.hpp is deprecated."
#endif
Expand Down
2 changes: 2 additions & 0 deletions packages/xpetra/src/Map/Xpetra_EpetraMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@

#if defined(XPETRA_ENABLE_DEPRECATED_CODE)
#ifdef __GNUC__
#if defined(Xpetra_SHOW_DEPRECATED_WARNINGS)
#warning "The header file Trilinos/packages/xpetra/src/Map/Xpetra_EpetraMap.hpp is deprecated."
#endif
#endif
#else
#error "The header file Trilinos/packages/xpetra/src/Map/Xpetra_EpetraMap.hpp is deprecated."
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@

#if defined(XPETRA_ENABLE_DEPRECATED_CODE)
#ifdef __GNUC__
#if defined(Xpetra_SHOW_DEPRECATED_WARNINGS)
#warning "The header file Trilinos/packages/xpetra/src/MultiVector/Xpetra_EpetraIntMultiVector.hpp is deprecated."
#endif
#endif
#else
#error "The header file Trilinos/packages/xpetra/src/MultiVector/Xpetra_EpetraIntMultiVector.hpp is deprecated."
#endif
Expand Down
2 changes: 2 additions & 0 deletions packages/xpetra/src/MultiVector/Xpetra_EpetraMultiVector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@

#if defined(XPETRA_ENABLE_DEPRECATED_CODE)
#ifdef __GNUC__
#if defined(Xpetra_SHOW_DEPRECATED_WARNINGS)
#warning "The header file Trilinos/packages/xpetra/src/MultiVector/Xpetra_EpetraMultiVector.hpp is deprecated."
#endif
#endif
#else
#error "The header file Trilinos/packages/xpetra/src/MultiVector/Xpetra_EpetraMultiVector.hpp is deprecated."
#endif
Expand Down
2 changes: 2 additions & 0 deletions packages/xpetra/src/Operator/Xpetra_EpetraOperator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@

#if defined(XPETRA_ENABLE_DEPRECATED_CODE)
#ifdef __GNUC__
#if defined(Xpetra_SHOW_DEPRECATED_WARNINGS)
#warning "The header file Trilinos/packages/xpetra/src/Operator/Xpetra_EpetraOperator.hpp is deprecated."
#endif
#endif
#else
#error "The header file Trilinos/packages/xpetra/src/Operator/Xpetra_EpetraOperator.hpp is deprecated."
#endif
Expand Down
2 changes: 2 additions & 0 deletions packages/xpetra/src/Vector/Xpetra_EpetraIntVector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@

#if defined(XPETRA_ENABLE_DEPRECATED_CODE)
#ifdef __GNUC__
#if defined(Xpetra_SHOW_DEPRECATED_WARNINGS)
#warning "The header file Trilinos/packages/xpetra/src/Vector/Xpetra_EpetraIntVector.hpp is deprecated."
#endif
#endif
#else
#error "The header file Trilinos/packages/xpetra/src/Vector/Xpetra_EpetraIntVector.hpp is deprecated."
#endif
Expand Down
2 changes: 2 additions & 0 deletions packages/xpetra/src/Vector/Xpetra_EpetraVector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@

#if defined(XPETRA_ENABLE_DEPRECATED_CODE)
#ifdef __GNUC__
#if defined(Xpetra_SHOW_DEPRECATED_WARNINGS)
#warning "The header file Trilinos/packages/xpetra/src/Vector/Xpetra_EpetraVector.hpp is deprecated."
#endif
#endif
#else
#error "The header file Trilinos/packages/xpetra/src/Vector/Xpetra_EpetraVector.hpp is deprecated."
#endif
Expand Down

0 comments on commit 505da08

Please sign in to comment.