Skip to content

Commit

Permalink
Tpetra: __FILE__ not expanded in #warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cwpearson committed Mar 8, 2024
1 parent 40f1f65 commit 24c3cae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/tpetra/core/src/Epetra_TsqrAdaptor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@

#if defined(TPETRA_ENABLE_DEPRECATED_CODE)
#if defined(TPETRA_DEPRECATED_DECLARATIONS)
#warning __FILE__ is deprecated due to Epetra removal and will be removed
#warning This file is deprecated due to Epetra removal and will be removed
#endif
#else
#error __FILE__ is deprecated due to Epetra removal and will be removed
#error This file is deprecated due to Epetra removal and will be removed
#endif

#if defined(HAVE_TPETRA_EPETRA) && defined(HAVE_TPETRA_TSQR)
Expand Down
4 changes: 2 additions & 2 deletions packages/tpetra/core/src/Epetra_TsqrMessenger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@

#if defined(TPETRA_ENABLE_DEPRECATED_CODE)
#if defined(TPETRA_DEPRECATED_DECLARATIONS)
#warning __FILE__ is deprecated due to Epetra removal and will be removed
#warning This file is deprecated due to Epetra removal and will be removed
#endif
#else
#error __FILE__ is deprecated due to Epetra removal and will be removed
#error This file is deprecated due to Epetra removal and will be removed
#endif

#if defined(HAVE_TPETRA_EPETRA) && defined(HAVE_TPETRA_TSQR)
Expand Down
4 changes: 2 additions & 2 deletions packages/tpetra/core/src/Tpetra_EpetraRowMatrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@

#if defined(TPETRA_ENABLE_DEPRECATED_CODE)
#if defined(TPETRA_DEPRECATED_DECLARATIONS)
#warning __FILE__ is deprecated due to Epetra removal and will be removed
#warning This file is deprecated due to Epetra removal and will be removed
#endif
#else
#error __FILE__ is deprecated due to Epetra removal and will be removed
#error This file is deprecated due to Epetra removal and will be removed
#endif

#if defined(HAVE_TPETRA_EPETRA)
Expand Down

0 comments on commit 24c3cae

Please sign in to comment.