From owner-freebsd-bugs Thu Jul 6 15:40:02 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA06363 for bugs-outgoing; Thu, 6 Jul 1995 15:40:02 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA06356 ; Thu, 6 Jul 1995 15:40:01 -0700 Date: Thu, 6 Jul 1995 15:40:01 -0700 Message-Id: <199507062240.PAA06356@freefall.cdrom.com> From: gordon@sneaky.lonestar.org Reply-To: gordon@sneaky.lonestar.org To: freebsd-bugs Subject: i386/596: and conflict with _POSIX_SOURCE In-Reply-To: Your message of Thu, 6 Jul 95 16:26 CDT Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 596 >Category: i386 >Synopsis: and conflict with _POSIX_SOURCE >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 6 15:40:01 1995 >Originator: Gordon Burditt >Organization: what organization? >Release: FreeBSD 2.0-BUILT-19950603 i386 >Environment: FreeBSD 2.0.5, gcc 2.6.3 >Description: If and are both included with _POSIX_SOURCE defined, rune_t is not defined and this leads to a large bunch of errors in . (This problem surfaced with real code, but just the include files are needed to reproduce it.) >How-To-Repeat: Compile the following 3-line program (cc -c x.c): # define _POSIX_SOURCE # include # include and get a flood of error messages starting with complaints about rune_t (a typedef apparently not defined). however, this works: # define _POSIX_SOURCE # include # include >Fix: >Audit-Trail: >Unformatted: