Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2000 07:55:46 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Graham Wheeler <gram@cequrux.com>
Cc:        Jim King <king@sstar.com>, Thomas David Rivers <rivers@dignus.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Any chance of changing struct member names in nameser.h?
Message-ID:  <20000707075545.E25571@fw.wintelcom.net>
In-Reply-To: <ecc3675e1a0a051fe49c35e7ada382b9@cequrux.com>; from gram@cequrux.com on Fri, Jul 07, 2000 at 04:31:51PM %2B0200
References:  <200007071320.JAA86645@lakes.dignus.com> <003d01bfe81e$553eb8a0$a44b8486@jking> <ecc3675e1a0a051fe49c35e7ada382b9@cequrux.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Graham Wheeler <gram@cequrux.com> [000707 07:46] wrote:
> Jim King wrote:
> > 
> > In that case, although it's considerably more work I'd take a look at
> > writing some C wrappers around the offending stuff.  You could write the
> > wrappers such that they'd compile with the offending include file, and be
> > callable from C++.  Sounds tedious and time consuming, but it might be
> > quicker than waiting for someone to fix the headers in question.
> 
> Yes, I could do that - I have done that already for curses.h. But I
> still think it sucks badly that there is a variable named 'class', and I
> still think it should be changed.

A really kludgy workaround would be to make a strictly C module for
handling that header, then link your C++ to it.

I do agree that it sucks though.

-Alfred


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000707075545.E25571>