NetBSD Problem Report #28354

From seebs@vash.cel.plethora.net  Thu Nov 18 23:53:30 2004
Return-Path: <seebs@vash.cel.plethora.net>
Received: from vash.cel.plethora.net (seebs.dsl.visi.com [209.98.116.65])
	by narn.netbsd.org (Postfix) with ESMTP id DB77F2525CF
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 18 Nov 2004 23:53:29 +0000 (UTC)
Message-Id: <200411182353.iAINrN9X013137@vash.cel.plethora.net>
Date: Thu, 18 Nov 2004 17:53:23 -0600 (CST)
From: seebs <seebs@vash.cel.plethora.net>
Reply-To: seebs@vash.cel.plethora.net
To: gnats-bugs@netbsd.org
Subject: Installing ncurses breaks curses
X-Send-Pr-Version: 3.95

>Number:         28354
>Category:       lib
>Synopsis:       Installing ncurses breaks curses
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 18 23:54:00 +0000 2004
>Originator:     seebs
>Release:        NetBSD 2.99.10
>Organization:
>Environment:
System: NetBSD vash.cel.plethora.net 2.99.10 NetBSD 2.99.10 (VASH) #0: Sat Nov 6 13:02:50 CST 2004 seebs@vash.cel.plethora.net:/usr/src/sys/arch/i386/compile/VASH i386
Architecture: i386
Machine: i386
>Description:
	If you've installed ncurses, and are compiling with
	-I/usr/pkg/include, <curses.h> tries to find <unctrl.h> and ends
	up getting /usr/pkg/include/unctrl.h, which then unleashes horrors.
>How-To-Repeat:
	Install ncurses from pkgsrc.  Try to use plain old curses.
>Fix:
	Well, a crappy workaround is
		#include "/usr/include/unctrl.h"

	A real fix is actually theoretically challenging; what we want to
	imply is that system headers should, in general, only ever see other
	system headers when including, I think... But I'm not sure how to
	do that!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.