Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
bctoolbox
gcc9-stringop-bogus-warning.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc9-stringop-bogus-warning.patch of Package bctoolbox
Index: bctoolbox-5.1.64/src/logging/logging.c =================================================================== --- bctoolbox-5.1.64.orig/src/logging/logging.c +++ bctoolbox-5.1.64/src/logging/logging.c @@ -422,6 +422,9 @@ char *bctbx_strdup_printf(const char *fm return ret; } +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstringop-truncation" + char * bctbx_strcat_vprintf(char* dst, const char *fmt, va_list ap){ char *ret; size_t dstlen, retlen; @@ -442,6 +445,8 @@ char * bctbx_strcat_vprintf(char* dst, c } } +#pragma GCC diagnostic pop + char *bctbx_strcat_printf(char* dst, const char *fmt,...){ char *ret; va_list args;
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