Re: F28 System Wide Change: Removal of Sun RPC Interfaces From glibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/22/2018 06:26 PM, Adam Jackson wrote:
On Fri, 2018-01-05 at 12:19 +0100, Jan Kurik wrote:
= System Wide Change:Removal of Sun RPC Interfaces From glibc =
https://fedoraproject.org/wiki/Changes/SunRPCRemoval

Change owner(s):
* Florian Weimer fweimer AT redhat DOT com>


This system-wide change covers the removal of interfaces related to
Sun RPC from glibc.

I'm trying to prepare xserver for this change, and it seems to provoke
an awkward warning when building on F27:

In file included from ../os/rpcauth.c:47:0:
/usr/include/tirpc/rpc/rpc.h:83:12: warning: redundant redeclaration of ‘bindresvport’ [-Wredundant-decls]
  extern int bindresvport(int, struct sockaddr_in *);
             ^~~~~~~~~~~~
In file included from /usr/include/tirpc/rpc/rpc.h:40:0,
                  from ../os/rpcauth.c:47:
/usr/include/netinet/in.h:502:12: note: previous declaration of ‘bindresvport’ was here
  extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __THROW;
             ^~~~~~~~~~~~

Is there any reasonable fix for this?

Redeclarations in system headers are expected. Do you compile with -Wsystem-headers? Or do you something else which is unusual, such as running the preprocessor separately?

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux