From mike@vlink.ru  Wed Nov 15 07:58:29 2000
Return-Path: <mike@vlink.ru>
Received: from mail-gw.vlink.ru (mail-gw.vlink.ru [195.239.222.2])
	by hub.freebsd.org (Postfix) with ESMTP id 2344737B4CF
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <mike@vlink.ru>
Reply-To: Michael Samanov <mike@vlink.ru>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Perl's core'h conflicts with ncurses.h
X-Send-Pr-Version: 3.2

>Number:         22873
>Category:       bin
>Synopsis:       [perl] Perl's core.h conflicts with ncurses.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    markm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 15 08:00:02 PST 2000
>Closed-Date:    Tue Sep 13 23:12:55 GMT 2005
>Last-Modified:  Tue Sep 13 23:12:55 GMT 2005
>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 <curses.h> into Test.xs >
	bash# perl Makefile.PL
	bash# make

>Fix:

	Add "#define instr ncurses_instr" somewhere after
	#include "perl.h" and before #include <curses.h>




>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->markm 
Responsible-Changed-By: dd 
Responsible-Changed-When: Thu May 31 19:53:59 PDT 2001 
Responsible-Changed-Why:  
Over to in-tree perl maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22873 

From: dickey@herndon4.his.com
To: freebsd-gnats-submit@FreeBSD.org, mike@vlink.ru
Cc: dickey@herndon4.his.com
Subject: Re: misc/22873: Perl's core'h conflicts with ncurses.h
Date: Sun, 3 Jun 2001 12:35:57 -0400

 the title is correct, the analysis is wrong (curses defined instr() before
 the name was use in Perl).
 
    Navigation Bar-[bar.gif]
 >
 >                           Problem Report misc/22873
 >
 >   Perl's core'h conflicts with ncurses.h
 >
 >   Confidential
 >          no
 >
 >   Severity
 >          non-critical
 >
 >   Priority
 >          medium
 >
 >   Responsible
 >          markm@FreeBSD.org
 >
 >   State
 >          open
 >
 >   Class
 >          sw-bug
 >
 >   Submitter-Id
 >          current-users
 >
 >   Arrival-Date
 >          Wed Nov 15 08:00:02 PST 2000
 >
 >   Last-Modified
 >          Thu May 31 19:54:10 PDT 2001
 >
 >   Originator
 >          Michael V. Samanov <mike@vlink.ru>
 >
 >   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 <curses.h> into Test.xs >
 >        bash# perl Makefile.PL
 >        bash# make
 >
 >   Fix
 >
 >        Add "#define instr ncurses_instr" somewhere after
 >        #include "perl.h" and before #include <curses.h>
 >
 >
 >
 >
 >   Audit-Trail
 >
 >Responsible-Changed-From-To: freebsd-bugs->markm
 >Responsible-Changed-By: dd
 >Responsible-Changed-When: Thu May 31 19:53:59 PDT 2001
 >Responsible-Changed-Why:
 >Over to in-tree perl maintainer.
 >
 >http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22873
 >
 >   Submit Followup | Raw PR
 >     _________________________________________________________________
 >
 >
 >    www@FreeBSD.org
 -- 
 Thomas E. Dickey <dickey@herndon4.his.com>
 http://dickey.his.com
 ftp://dickey.his.com
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Tue Sep 13 23:12:20 GMT 2005 
State-Changed-Why:  
Perl is no longer in the base system. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22873 
>Unformatted:
