Date: Wed, 15 Nov 2000 18:33:57 +0300 (MSK) From: Michael Samanov <mike@vlink.ru> To: FreeBSD-gnats-submit@freebsd.org Subject: misc/22873: Perl's core'h conflicts with ncurses.h Message-ID: <200011151533.eAFFXvs01389@www.mikes.pvt>
next in thread | raw e-mail | index | archive | help
>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 <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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011151533.eAFFXvs01389>