From owner-freebsd-bugs Thu Oct 12 16:20:02 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA03992 for bugs-outgoing; Thu, 12 Oct 1995 16:20:02 -0700 Received: (from gnats@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA03986 ; Thu, 12 Oct 1995 16:20:01 -0700 Resent-Date: Thu, 12 Oct 1995 16:20:01 -0700 Resent-Message-Id: <199510122320.QAA03986@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, scott@statsci.com Received: from block.statsci.com (block.statsci.com [198.145.127.26]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA03596 for ; Thu, 12 Oct 1995 16:09:58 -0700 Received: (from scott@localhost) by block.statsci.com (8.6.12/8.6.9) id QAA03608; Thu, 12 Oct 1995 16:09:52 -0700 Message-Id: <199510122309.QAA03608@block.statsci.com> Date: Thu, 12 Oct 1995 16:09:52 -0700 From: Scott Blachowicz Reply-To: scott@statsci.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/779: undefined rune_t Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 779 >Category: bin >Synopsis: #include gets undefined 'rune_t' type. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 12 16:20:00 PDT 1995 >Last-Modified: >Originator: Scott Blachowicz >Organization: StatSci division of Mathsoft, Inc >Release: FreeBSD 2.1-STABLE i386 >Environment: Actually, this is a 2.1.0-950928-SNAP OS on a 486/66 system. >Description: In building the GNU bc-1.03 package, I ran across this error (that I isolated down to a foo.c file included below): In file included from /usr/include/ctype.h:51, from foo.c:3: /usr/include/runetype.h:58: parse error before `rune_t' /usr/include/runetype.h:58: warning: no semicolon at end of struct or union /usr/include/runetype.h:59: warning: data definition has no type or storage class >How-To-Repeat: My foo.c contained the following 3 lines: #define _POSIX_SOURCE #include #include I compiled with 'cc -O -c foo.c'. >Fix: Don't define _POSIX_SOURCE or modify /usr/include/runetype.h to make sure rune_t is always defined (??). >Audit-Trail: >Unformatted: