Skip to content

Commit 5a5b77a

Browse files
authored
Deprecate SuppressWarning.hh with #warning (#367)
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
1 parent f930df3 commit 5a5b77a

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)