From owner-freebsd-bugs Wed Jul 10 13:20: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8269937B400 for ; Wed, 10 Jul 2002 13:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FE1A43E42 for ; Wed, 10 Jul 2002 13:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6AKK3JU037393 for ; Wed, 10 Jul 2002 13:20:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6AKK3sf037392; Wed, 10 Jul 2002 13:20:03 -0700 (PDT) Date: Wed, 10 Jul 2002 13:20:03 -0700 (PDT) Message-Id: <200207102020.g6AKK3sf037392@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Giorgos Keramidas Subject: Re: misc/40399: missing extern "C" in fetch.h Reply-To: Giorgos Keramidas Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/40399; it has been noted by GNATS. From: Giorgos Keramidas To: Cloudy Zheng Cc: bug-followup@FreeBSD.org Subject: Re: misc/40399: missing extern "C" in fetch.h Date: Wed, 10 Jul 2002 21:51:51 +0300 On 2002-07-09 21:25 +0000, Cloudy Zheng wrote: > No extern "C" declare in fetch.h, cannot link against C++ code[...] I'm not sure it's a nice idea to "pollute" all the headers of the base system with `extern "C" { ... }' blocks. It's the responsibility of the one that wants to include C headers within C++ programs to add the proper `extern' blocks to the programs, IMHO. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message