From owner-freebsd-hackers Tue Feb 19 0:16:49 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 34D2A37B404; Tue, 19 Feb 2002 00:16:45 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 0204EAE25A; Tue, 19 Feb 2002 00:16:44 -0800 (PST) Date: Tue, 19 Feb 2002 00:16:44 -0800 From: Alfred Perlstein To: Kip Macy Cc: hackers@FreeBSD.ORG, joe@FreeBSD.ORG, bde@FreeBSD.ORG Subject: Re: usb header not c++ friendly. Message-ID: <20020219081644.GK12136@elvis.mu.org> References: <20020219080800.GI12136@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Kip Macy [020219 00:12] wrote: > http://web.netapp.com/engineering/projects/raidv2/testing/global/ > > > > > uh, yeah.... it's not my header. > Oh duh, sorry... > If you do that then you have to modify all the files including it > correspondingly. Will putting an extern "C" { ... } around the file not fix the problem? It won't fix the problem. :( the #ifdef __cplusplus only kicks in when we're compiling c++ sources, sooooooo i think it's ok, gross but ok. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message