public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/561] New: __interface in /usr/include/netinet/in.h
@ 2004-11-19  1:43 Eric.W.Moore@intel.com
  2004-11-19  9:46 ` [Bug libc/561] " schwab@suse.de
  0 siblings, 1 reply; 2+ messages in thread
From: Eric.W.Moore@intel.com @ 2004-11-19  1:43 UTC (permalink / raw)
  To: glibc-bugs

The Intel C++ Compiler cannot compile applications which 
include /usr/include/netinet/in.h which was modified in cvs 
http://sources.redhat.com/ml/glibc-cvs/2004-q3/msg00229.html - because of the 
use of the 
__interface keyword.  Which is already a keyword of the intel compiler.

An example of the change....
    extern int getipv4sourcefilter (int __s, struct in_addr __interface, 
struct in_addr __group, uint32_t *__fmode, uint32_t *__numsrc, struct in_addr 
*__slist)


The spec for getipv4sourcefilter is at http://www.xaml.net/articles/rfc.aspx ?
rfc=3678

The spec uses interface not __interface
     int getipv4sourcefilter(int s, struct in_addr interface, struct in_addr 
group, uint32_t *fmode, uint32_t *numsrc, struct in_addr *slist);

This implementation doesn't meet C++ language standards.
section 17.4.3.1.2 of the C++ spec says that:
Certain sets of names and function signatures are always reserved to the 
implementation:
-Each name that contains a double underscore (__) or begins with an underscore 
followed by an uppercase letter(2.11) is reserved to the implementation for 
any use

-- 
           Summary: __interface in /usr/include/netinet/in.h
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: Eric dot W dot Moore at intel dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=561

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libc/561] __interface in /usr/include/netinet/in.h
  2004-11-19  1:43 [Bug libc/561] New: __interface in /usr/include/netinet/in.h Eric.W.Moore@intel.com
@ 2004-11-19  9:46 ` schwab@suse.de
  0 siblings, 0 replies; 2+ messages in thread
From: schwab@suse.de @ 2004-11-19  9:46 UTC (permalink / raw)
  To: glibc-bugs

------- Additional Comments From schwab at suse dot de  2004-11-19 09:46 -------


*** This bug has been marked as a duplicate of 560 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://sources.redhat.com/bugzilla/show_bug.cgi?id=561

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-19  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-19  1:43 [Bug libc/561] New: __interface in /usr/include/netinet/in.h Eric.W.Moore@intel.com
2004-11-19  9:46 ` [Bug libc/561] " schwab@suse.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).