Skip to content

Commit 730d764

Browse files
committed
Deprecate SuppressWarning.hh with #warning
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
1 parent 71527b3 commit 730d764

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/gz/utilities/SuppressWarning.hh

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#ifndef GZ_UTILITIES_SUPPRESSWARNING_HH_
1919
#define GZ_UTILITIES_SUPPRESSWARNING_HH_
2020

21+
#warning "This is deprecated, use gz/utils/SuppressWarning.hh instead."
22+
2123
#include <gz/utilities/detail/SuppressWarning.hh>
2224

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

0 commit comments

Comments
 (0)