From owner-freebsd-bugs Thu Nov 30 22:30:08 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA18065 for bugs-outgoing; Thu, 30 Nov 1995 22:30:08 -0800 Received: (from gnats@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA18030 ; Thu, 30 Nov 1995 22:30:05 -0800 Resent-Date: Thu, 30 Nov 1995 22:30:05 -0800 Resent-Message-Id: <199512010630.WAA18030@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, mi@ALDAN.star89.galstar.com Received: from aldan (PPP-74-5.BU.EDU [128.197.7.121]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA17051 for ; Thu, 30 Nov 1995 22:24:46 -0800 Received: (from mi@localhost) by aldan (8.6.12/8.6.12) id BAA12694; Fri, 1 Dec 1995 01:23:30 -0500 Message-Id: <199512010623.BAA12694@aldan> Date: Fri, 1 Dec 1995 01:23:30 -0500 From: Mikhail Teterin Reply-To: mi@ALDAN.star89.galstar.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/857: elm port does not compile after straightforward config Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 857 >Category: ports >Synopsis: Need ANSI_C define to not declare some functions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 30 22:30:02 PST 1995 >Last-Modified: >Originator: &khail Teterin >Organization: >Release: FreeBSD 2.1-STABLE i386 >Environment: >Description: lding for elm-2.4m8a cd lib; /usr/bin/make - all gcc -fpcc-struct-return -traditional -O2 -fno-strength-reduce -m486 -I../hdrs -c add_site.c In file included from ../hdrs/headers.h:93, from add_site.c:27: ../hdrs/defs.h:670: conflicting types for `lseek' /usr/include/sys/types.h:84: previous declaration of `lseek' *** Error code 1 >How-To-Repeat: su cd /usr/ports/mail/elm make configure do not add -DANSI_C when asked for additional CC options >Fix: Add -DANSI_C into the list of default extra options (in config.sh?) With it, non needed declarations will be removed by C-preprocessor. >Audit-Trail: >Unformatted: