NetBSD Problem Report #2323
From gnats Sat Apr 13 04:25:04 1996
Received: from perki.connect.com.au by pain.lcs.mit.edu (8.7.4/8.6.12) with ESMTP id EAA04564 for <gnats-bugs@gnats.netbsd.org>; Sat, 13 Apr 1996 04:09:56 -0400 (EDT)
Subject: #include <curses.h> breaks with -D_POSIX_SOURCE defined
>Number: 2323
>Category: standards
>Synopsis: #include <curses.h> breaks with -D_POSIX_SOURCE defined
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 13 04:35:02 +0000 1996
>Closed-Date: Wed Apr 17 21:10:59 +0000 1996
>Last-Modified: Thu Apr 18 01:13:06 +0000 1996
>Originator: Giles Lean
>Release: 1.1
>Organization:
--
Giles Lean <giles@nemeton.com.au> +61 3 9480 2118
PGP Key fingerprint = 9F FB 28 37 81 F2 AC F3 8A B0 37 E5 73 CF 39 E7
>Environment:
System: NetBSD nemeton.com.au 1.1 NetBSD 1.1 (NEMETON) #2: Mon Apr 8 20:55:12 EST 1996 giles@nemeton.com.au:/usr/src/sys/arch/i386/compile/NEMETON i386
>Description:
<curses.h> uses u_int which is not defined by <sys/types.h>
for code being compiled with -D_POSIX_SOURCE set.
>How-To-Repeat:
$ echo "#include <sys/types.h>\n#include <curses.h>" > a.c
$ cc -c -D_POSIX_SOURCE a.c
>Fix:
Is there a standards guru in the house?
I recognise a namespace problem when I see one, but I won't
proffer a solution. :)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Wed Apr 17 21:10:59 1996
State-Changed-Why:
This was fixed in -current on March 26th.
>Unformatted:
>Received: (from giles@localhost) by nemeton.com.au (8.6.12/8.6.9) id QAA04558; Sat, 13 Apr 1996 16:33:00 +1000
Date: Sat, 13 Apr 1996 16:33:00 +1000
From: Giles Lean <giles@nemeton.com.au>
Message-Id: <199604130633.QAA04558@nemeton.com.au>
To: gnats-bugs@gnats.netbsd.org
Subject: #include <curses.h> breaks with -D_POSIX_SOURCE defined
Reply-To: giles@nemeton.com.au
X-send-pr-version: 3.95
Content-Type: text
(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.