Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:zSystems
scim-tables
G_GNUC_BEGIN_IGNORE_DEPRECATIONS.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File G_GNUC_BEGIN_IGNORE_DEPRECATIONS.patch of Package scim-tables
Index: scim-tables-scim-tables-0.5.14.1/src/scim_table_imengine_setup.cpp =================================================================== --- scim-tables-scim-tables-0.5.14.1.orig/src/scim_table_imengine_setup.cpp +++ scim-tables-scim-tables-0.5.14.1/src/scim_table_imengine_setup.cpp @@ -76,6 +76,19 @@ #define SCIM_TABLES_USE_GTK_TREE_VIEW_SET_RULES_HINT #endif +#if ! GLIB_CHECK_VERSION(2, 32, 0) +#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) +#define G_GNUC_BEGIN_IGNORE_DEPRECATIONS \ + _Pragma ("GCC diagnostic push") \ + _Pragma ("GCC diagnostic ignored \"-Wdeprecated-declarations\"") +#define G_GNUC_END_IGNORE_DEPRECATIONS \ + _Pragma ("GCC diagnostic pop") +#else +#define G_GNUC_BEGIN_IGNORE_DEPRECATIONS +#define G_GNUC_END_IGNORE_DEPRECATIONS +#endif +#endif + using namespace scim; #define scim_module_init table_imengine_setup_LTX_scim_module_init
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor