Date: Wed, 12 May 1999 08:35:57 -0700 (PDT) From: quichem@merit.edu To: freebsd-gnats-submit@freebsd.org Subject: misc/11670: /usr/include/arpa/nameser.h uses a C++ keyword Message-ID: <19990512153557.5496714C59@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 12 08:40:01 PDT 1999 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990512153557.5496714C59>