From owner-freebsd-bugs Wed Nov 15 8: 0: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7A60237B4CF for ; Wed, 15 Nov 2000 08:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA29703; Wed, 15 Nov 2000 08:00:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from mail-gw.vlink.ru (mail-gw.vlink.ru [195.239.222.2]) by hub.freebsd.org (Postfix) with ESMTP id 2344737B4CF for ; Wed, 15 Nov 2000 07:58:29 -0800 (PST) Received: from ppp-2-09.vlink.ru (ppp-2-09.vlink.ru [195.239.222.200]) by mail-gw.vlink.ru (Postfix) with ESMTP id 94D8415597 for ; Wed, 15 Nov 2000 18:58:26 +0300 (MSK) Received: (from mike_s@localhost) by www.mikes.pvt (8.11.0/8.9.3) id eAFFXvs01389; Wed, 15 Nov 2000 18:33:57 +0300 (MSK) (envelope-from mike_s) Message-Id: <200011151533.eAFFXvs01389@www.mikes.pvt> Date: Wed, 15 Nov 2000 18:33:57 +0300 (MSK) From: Michael Samanov Reply-To: Michael Samanov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/22873: Perl's core'h conflicts with ncurses.h Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22873 >Category: misc >Synopsis: Perl's core'h conflicts with ncurses.h >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 15 08:00:02 PST 2000 >Closed-Date: >Last-Modified: >Originator: Michael V. Samanov >Release: FreeBSD 4.1-STABLE i386 >Organization: Home >Environment: FreeBSD since 4.x >Description: When you are trying to compile something, including /usr/libdata/perl/5.00503/mach/CORE/proto.h and /usr/include/curses.h, compiler fails complaining to 'instr' wrong re-declaration >How-To-Repeat: bash# h2xs -n Test bash# cd Test < Insert #include into Test.xs > bash# perl Makefile.PL bash# make >Fix: Add "#define instr ncurses_instr" somewhere after #include "perl.h" and before #include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message