Skip to content

Commit a5a52b3

Browse files
committed
[#196] Ignore GeneralUpdate deprecation warnings
1 parent f921bee commit a5a52b3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

include/irods/private/re/python/irods_types.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ using list_of_irods_types = type_sequence<
7474
float,
7575
genQueryInp_t,
7676
genQueryOut_t,
77+
#pragma clang diagnostic push
78+
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
7779
generalUpdateInp_t,
80+
#pragma clang diagnostic pop
7881
icatSessionStruct,
7982
in_addr,
8083
int,

src/types/irods/rodsGeneralUpdate.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ namespace irods::re::python::types
2525
{
2626
__attribute__((visibility("hidden"))) void export_GeneralUpdateInp()
2727
{
28+
#pragma clang diagnostic push
29+
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
2830
// clang-format off
2931
bp::class_<generalUpdateInp_t>("GeneralUpdateInp", bp::no_init)
3032
.def("__init__", make_init_function<generalUpdateInp_t>(
@@ -34,5 +36,6 @@ namespace irods::re::python::types
3436
.add_property("values", &generalUpdateInp_t::values)
3537
;
3638
// clang-format on
39+
#pragma clang diagnostic pop
3740
}
3841
} //namespace irods::re::python::types

0 commit comments

Comments
 (0)