From owner-freebsd-questions Sat Mar 9 09:37:53 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA11687 for questions-outgoing; Sat, 9 Mar 1996 09:37:53 -0800 (PST) Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA11682 for ; Sat, 9 Mar 1996 09:37:51 -0800 (PST) Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA26878; Sat, 9 Mar 96 17:19:18 GMT Received: by emu.fsl.noaa.gov (1.38.193.4/SMI-4.1 (1.38.193.4)) id AA26656; Sat, 9 Mar 1996 10:19:17 -0700 Date: Sat, 9 Mar 1996 10:19:17 -0700 Message-Id: <9603091719.AA26656@emu.fsl.noaa.gov> From: Sean Kelly To: dugger@swn.com Cc: questions@freebsd.org In-Reply-To: (message from Don Dugger on Wed, 31 Dec 1969 23:59:59 +0000 ( )) Subject: Re: g++ question Sender: owner-questions@freebsd.org X-Loop: owner-questions@FreeBSD.ORG Precedence: bulk The curses header file on your Linux system probably has #ifdef __cplusplus extern "C" { #endif ... declarations #ifdef __cplusplus } #endif in it, whereas FreeBSD's does not. In your code, you can try extern "C" { #include } or uses which has the extern "C" stuff. -- Sean Kelly NOAA Forecast Systems Laboratory kelly@fsl.noaa.gov Boulder Colorado USA http://www-sdd.fsl.noaa.gov/~kelly/