Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  5 Feb 2003 22:17:34 +1100 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/47949: gcc 3.2.1 / strcasecmp() weirdness
Message-ID:  <20030205111734.B748D6A712B@k7.mavetju>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030205111734.B748D6A712B>