Bug 917

Summary: Include files not ANSI C++ conforming
Product: [Retired] Red Hat Linux Reporter: klaus.kaempf
Component: glibcAssignee: Cristian Gafton <gafton>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 5.1CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-02-10 20:25:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description klaus.kaempf 1999-01-22 08:12:43 UTC
In /usr/include/netinet/in.h the structure ip_opts has a
data member also named ip_opts. According to the ANSI C++
Standard (and from discussion on egcs) this is
not allowed. When including this file in a C++ program,
egcs flags this as an error.
Since I don't know who's responsible for the include files
in RedHat 5.1 (the glibc maintainer ?), please forward this
report.

Comment 1 David Lawrence 1999-01-22 21:38:59 UTC
I have verified this to be true in 5.1 and also in 5.2. It is being
assigned to a developer for further review.

Comment 2 Cristian Gafton 1999-02-10 20:25:59 UTC
This problem is fixed by the glibc 2.1 header files