Skip to content

Commit

Permalink
Deprecate SuppressWarning.hh with #warning
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters committed Jul 27, 2023
1 parent 71527b3 commit 730d764
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/gz/utilities/SuppressWarning.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#ifndef GZ_UTILITIES_SUPPRESSWARNING_HH_
#define GZ_UTILITIES_SUPPRESSWARNING_HH_

#warning "This is deprecated, use gz/utils/SuppressWarning.hh instead."

#include <gz/utilities/detail/SuppressWarning.hh>

// This header contains cross-platform macros for suppressing warnings. Please
Expand Down

0 comments on commit 730d764

Please sign in to comment.