From owner-freebsd-bugs Wed Feb 5 3:20:18 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3563F37B401 for ; Wed, 5 Feb 2003 03:20:16 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0477543F75 for ; Wed, 5 Feb 2003 03:20:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h15BKENS060056 for ; Wed, 5 Feb 2003 03:20:14 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h15BKEhp060055; Wed, 5 Feb 2003 03:20:14 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3751937B401 for ; Wed, 5 Feb 2003 03:17:45 -0800 (PST) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7277B43FA7 for ; Wed, 5 Feb 2003 03:17:44 -0800 (PST) (envelope-from edwin@mavetju.org) Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 0BA2D2B845 for ; Wed, 5 Feb 2003 12:17:37 +0100 (CET) Received: by k7.mavetju (Postfix, from userid 1001) id B748D6A712B; Wed, 5 Feb 2003 22:17:34 +1100 (EST) Message-Id: <20030205111734.B748D6A712B@k7.mavetju> Date: Wed, 5 Feb 2003 22:17:34 +1100 (EST) From: Edwin Groothuis Reply-To: Edwin Groothuis To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/47949: gcc 3.2.1 / strcasecmp() weirdness Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47949 >Category: bin >Synopsis: gcc 3.2.1 / strcasecmp() weirdness >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 05 03:20:14 PST 2003 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 4.5-RELEASE i386 >Organization: >Environment: FreeBSD ref5.freebsd.org 5.0-CURRENT FreeBSD 5.0-CURRENT #24: Sat Jan 4 12:11:02 PST 2003 peter@ref5.freebsd.org:/usr/src/sys/i386/compile/REF5 i386 >Description: I'm trying to compile security/clamav (ports/45686) It fails with: zziplib/zzip-file.c: In function `zzip_file_open': zziplib/zzip-file.c:116: `strcasecmp' undeclared (first use in this function) 116: cmp = (o_mode & ZZIP_CASEINSENSITIVE)? strcasecmp: strcmp; I add this line before line 116: if (strcasecmp("12","11")) printf(""); And it compiles without a problem. Why oh why? >How-To-Repeat: Install the shar in ports/45686 and compile it on ref5.freebsd.org (or any other -current machine probably) It compiles fine on a 4.7 machine. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message