Date: Thu, 12 Oct 1995 16:09:52 -0700 From: Scott Blachowicz <scott@statsci.com> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/779: undefined rune_t Message-ID: <199510122309.QAA03608@block.statsci.com> Resent-Message-ID: <199510122320.QAA03986@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 779 >Category: bin >Synopsis: #include <ctype.h> 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 <stdlib.h> #include <ctype.h> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510122309.QAA03608>