From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 16 21:00:09 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0ABD106568F for ; Tue, 16 Feb 2010 21:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 88D7A8FC1F for ; Tue, 16 Feb 2010 21:00:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1GL09ND067429 for ; Tue, 16 Feb 2010 21:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1GL09al067428; Tue, 16 Feb 2010 21:00:09 GMT (envelope-from gnats) Resent-Date: Tue, 16 Feb 2010 21:00:09 GMT Resent-Message-Id: <201002162100.o1GL09al067428@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Best Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EADA7106566B for ; Tue, 16 Feb 2010 20:50:29 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D8D598FC1C for ; Tue, 16 Feb 2010 20:50:29 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1GKoTcF003236 for ; Tue, 16 Feb 2010 20:50:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o1GKoTWI003235; Tue, 16 Feb 2010 20:50:29 GMT (envelope-from nobody) Message-Id: <201002162050.o1GKoTWI003235@www.freebsd.org> Date: Tue, 16 Feb 2010 20:50:29 GMT From: Alexander Best To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/144019: [patch] gcc complains about implicit declaration of isalnum() in contrib/gdtoa/hexnan.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2010 21:00:09 -0000 >Number: 144019 >Category: kern >Synopsis: [patch] gcc complains about implicit declaration of isalnum() in contrib/gdtoa/hexnan.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Feb 16 21:00:09 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alexander Best >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r203786M: Thu Feb 11 23:40:42 CET 2010 root@otaku:/usr/obj/usr/src/sys/ARUNDEL amd64 >Description: little patch to stop gcc from complaining about the implicit declaration of isalnum(). although this file comes from vendor contributed software (gdtoa) the cause for the warning is related to local freebsd specific changes in the file which are not part of the original file shipped by the vendor. so i guess this can be fixed directly in head. cheers. alex >How-To-Repeat: >Fix: Patch attached with submission follows: Index: contrib/gdtoa/hexnan.c =================================================================== --- contrib/gdtoa/hexnan.c (revision 203939) +++ contrib/gdtoa/hexnan.c (working copy) @@ -31,6 +31,8 @@ /* $FreeBSD$ */ +#include + #include "gdtoaimp.h" static void >Release-Note: >Audit-Trail: >Unformatted: