From owner-freebsd-bugs Mon Sep 16 00:50:08 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA19048 for bugs-outgoing; Mon, 16 Sep 1996 00:50:08 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA19019; Mon, 16 Sep 1996 00:50:05 -0700 (PDT) Resent-Date: Mon, 16 Sep 1996 00:50:05 -0700 (PDT) Resent-Message-Id: <199609160750.AAA19019@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, Kees.Koster@nym.sc.philips.com Received: from relay.philips.nl (ns.philips.nl [130.144.65.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA18772 for ; Mon, 16 Sep 1996 00:42:03 -0700 (PDT) Received: (from smap@localhost) by relay.philips.nl (8.6.9/8.6.9-950414) id JAA00608 for ; Mon, 16 Sep 1996 09:41:30 +0200 Received: from unknown(192.26.173.32) by ns.philips.nl via smap (V1.3+ESMTP) with ESMTP id sma000471; Mon Sep 16 09:40:36 1996 Received: from aonc01.nym.sc.philips.com (aonc01.nym.sc.philips.com [130.144.70.193]) by smtp.nl.cis.philips.com (8.6.10/8.6.10-0.9z-02May95) with ESMTP id JAA00853 for ; Mon, 16 Sep 1996 09:43:30 +0200 Received: from NLNMG01.nym.sc.philips.com (nlnmg01 [130.144.80.6]) by aonc01.nym.sc.philips.com (8.6.10/8.6.10-1.2a-960822) with ESMTP id JAA18849 for ; Mon, 16 Sep 1996 09:40:57 +0200 Received: from NLNMG01/MAILQUEUE by NLNMG01.nym.sc.philips.com (Mercury 1.21); 16 Sep 96 09:41:02 +0100 Received: from MAILQUEUE by NLNMG01 (Mercury 1.21); 16 Sep 96 09:40:59 +0100 Message-Id: <24236731290@NLNMG01.nym.sc.philips.com> Date: Mon, 16 Sep 1996 09:40:57 GMT+0100 From: "Kees Jan Koster" Reply-To: Kees.Koster@nym.sc.philips.com To: FreeBSD-gnats-submit@freebsd.org Subject: bin/1623: rpc/auth.h won't compile with -ansi flag Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1623 >Category: bin >Synopsis: rpc/auth.h won't compile with -ansi flag >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 16 00:50:04 PDT 1996 >Last-Modified: >Originator: Kees Jan Koster >Organization: Philips Semiconductors Nijmegen >Release: FreeBSD 2.1.5-RELEASE i386 >Environment: gcc version 2.7.2 >Description: When I include rpc/auth.h in a file and compile it with -ansi I get error messages because u_int32 is not defined. This seems to be because gcc defines '__i386__' instead of 'i386' when given the -ansi flag. >How-To-Repeat: Well, #include and compile it ;) >Fix: *** auth.h.orig Sun Sep 15 17:16:09 1996 --- auth.h Sun Sep 15 17:17:09 1996 *************** *** 68,74 **** AUTH_FAILED=7 /* some unknown reason */ }; ! #if (mc68000 || sparc || vax || i386 || tahoe || hp300) typedef u_long u_int32; /* 32-bit unsigned integers */ #endif --- 68,74 ---- AUTH_FAILED=7 /* some unknown reason */ }; ! #if (__mc68000__ || __sparc__ || __vax__ || __i386__ || __tahoe__ || __hp300__) typedef u_long u_int32; /* 32-bit unsigned integers */ #endif >Audit-Trail: >Unformatted: X-send-pr-version: 3.2