all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: 8561@debbugs.gnu.org
Subject: bug#8561: 24.0.50; Test programme to check net/if.h is faulty
Date: Tue, 26 Apr 2011 23:15:27 +0200	[thread overview]
Message-ID: <8D7620FE-910C-43EF-8DD0-ADDAFE1C8E35@Freenet.DE> (raw)

Hello!

Now at revno: 104020 I see that this test programme is faulty. It has

	#if HAVE_SYS_SOCKET_H
	#include <sys/socket.h>
	#endif

but HAVE_SYS_SOCKET_H is neither defined in the test programme nor on  
the command line of gcc's invocation. So sys/socket.h is not included,  
sockaddr and sockaddr_storage are not declared and gcc complains:

	In file included from conftest.c:87:0:
	/usr/include/net/if.h:259:19: error: field 'ifru_addr' has incomplete  
type
	/usr/include/net/if.h:260:19: error: field 'ifru_dstaddr' has  
incomplete type
	/usr/include/net/if.h:261:19: error: field 'ifru_broadaddr' has  
incomplete type
	/usr/include/net/if.h:298:18: error: field 'ifra_addr' has incomplete  
type
	/usr/include/net/if.h:299:18: error: field 'ifra_broadaddr' has  
incomplete type
	/usr/include/net/if.h:300:18: error: field 'ifra_mask' has incomplete  
type
	/usr/include/net/if.h:374:26: error: field 'addr' has incomplete type
	/usr/include/net/if.h:375:26: error: field 'dstaddr' has incomplete  
type

This is related to bug#8383.

--
Greetings

   Pete                           <]
              o        __o         |__    o       HPV, the real
     ___o    /I       -\<,         |o \  -\),-%     high speed!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________






             reply	other threads:[~2011-04-26 21:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-26 21:15 Peter Dyballa [this message]
2017-12-06 18:40 ` bug#8561: 24.0.50; Test programme to check net/if.h is faulty Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8D7620FE-910C-43EF-8DD0-ADDAFE1C8E35@Freenet.DE \
    --to=peter_dyballa@freenet.de \
    --cc=8561@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.