[Debian-ha-maintainers] Bug#713662: heartbeat: FTBFS: ucast.c:468:6: error: conflicting types for 'i'

Andrey Rahmatullin wrar at wrar.name
Mon Jun 24 16:36:07 UTC 2013


Control: tags -1 + upstream

On Sat, Jun 22, 2013 at 03:30:47PM +0200, David Suárez wrote:
> > ucast.c: In function 'HB_make_send_sock':
> > ucast.c:468:6: error: conflicting types for 'i'
> >   int i = 1;
> >       ^
> > ucast.c:465:15: note: previous declaration of 'i' was here
> >   struct ifreq i;
> >                ^
The code:

#if defined(SO_BINDTODEVICE)
  struct ifreq i;
#endif
#if defined(SO_REUSEPORT)
  int i = 1;
#endif

In the current /usr/include/asm-generic/socket.h both macros are defined.

-- 
WBR, wRAR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-ha-maintainers/attachments/20130624/0535ac91/attachment.sig>


More information about the Debian-ha-maintainers mailing list