Skip to content

Commit

Permalink
Deprecate SuppressWarning.hh with #warning (#367)
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters authored Jul 27, 2023
1 parent f930df3 commit 5a5b77a
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 5a5b77a

Please sign in to comment.