Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
openpgm
Mark-pgm_family_string-as-inline.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Mark-pgm_family_string-as-inline.patch of Package openpgm
Author: Luca Boccassi <bluca@debian.org> Description: Mark pgm_family_string as 'inline' Functions defined in headers need to be 'static inline', otherwise the compiler will generate an unused-function warning for every program that includes the header but doesn't use the function. In file included from /usr/include/pgm-5.3/pgm/skbuff.h:39, from /usr/include/pgm-5.3/pgm/msgv.h:33, from /usr/include/pgm-5.3/pgm/pgm.h:44, from src/ip.cpp:53: /usr/include/pgm-5.3/pgm/socket.h:207:1: error: 'const char* pgm_family_string(int)' defined but not used [-Werror=unused-function] 207 | pgm_family_string ( | ^~~~~~~~~~~~~~~~~ --- pgm.orig/include/pgm/socket.h +++ pgm/include/pgm/socket.h @@ -202,7 +202,7 @@ int pgm_wsapoll_info (pgm_sock_t*const restrict, WSAPOLLFD*const restrict, ULONG int pgm_epoll_ctl (pgm_sock_t*const, const int, const int, const int); #endif -static +static inline const char* pgm_family_string ( const int family
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