Skip to content

Commit

Permalink
[#196] Ignore GeneralUpdate deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alanking committed Mar 28, 2024
1 parent aa6e238 commit a44162d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/irods/private/re/python/irods_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ using list_of_irods_types = type_sequence<
float,
genQueryInp_t,
genQueryOut_t,
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
generalUpdateInp_t,
#pragma clang diagnostic pop
icatSessionStruct,
in_addr,
int,
Expand Down
3 changes: 3 additions & 0 deletions src/types/irods/rodsGeneralUpdate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ namespace irods::re::python::types
{
__attribute__((visibility("hidden"))) void export_GeneralUpdateInp()
{
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
// clang-format off
bp::class_<generalUpdateInp_t>("GeneralUpdateInp", bp::no_init)
.def("__init__", make_init_function<generalUpdateInp_t>(
Expand All @@ -34,5 +36,6 @@ namespace irods::re::python::types
.add_property("values", &generalUpdateInp_t::values)
;
// clang-format on
#pragma clang diagnostic pop
}
} //namespace irods::re::python::types

0 comments on commit a44162d

Please sign in to comment.