From nobody@FreeBSD.ORG Wed May 12 08:35:57 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 5496714C59; Wed, 12 May 1999 08:35:57 -0700 (PDT)
Message-Id: <19990512153557.5496714C59@hub.freebsd.org>
Date: Wed, 12 May 1999 08:35:57 -0700 (PDT)
From: quichem@merit.edu
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: /usr/include/arpa/nameser.h uses a C++ keyword
X-Send-Pr-Version: www-1.0

>Number:         11670
>Category:       misc
>Synopsis:       /usr/include/arpa/nameser.h uses a C++ keyword
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 12 08:40:01 PDT 1999
>Closed-Date:    Thu Jul 15 11:39:10 PDT 1999
>Last-Modified:  Thu Jul 15 11:39:57 PDT 1999
>Originator:     Mukesh Agrawal
>Release:        3.1
>Organization:
Merit Network
>Environment:
FreeBSD drummond.merit.edu 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Fri Mar 12 21:20:09 EST 1999     geeb@drummond.merit.edu:/usr/src/sys/compile/GATED  i386
>Description:
I'm including this file from a C++ source file. On line 143, the type
ns_rr is defined to contain a field called "class". This causes an error
with the C++ compiler (gcc 2.7.2.1). The include directive is inside
an 'extern "C"' block, so that isn't the solution.
>How-To-Repeat:
try to compile a C++ program that includes /usr/include/arpa/nameser.h
>Fix:
rename the field

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nrahlstr 
State-Changed-When: Thu Jul 15 11:39:10 PDT 1999 
State-Changed-Why:  
Fixed by peter in version 1.13 of nameser.h. 
>Unformatted:
