Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2010 20:50:29 GMT
From:      Alexander Best <alexbestms@wwu.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/144019: [patch] gcc complains about implicit declaration of isalnum() in contrib/gdtoa/hexnan.c
Message-ID:  <201002162050.o1GKoTWI003235@www.freebsd.org>
Resent-Message-ID: <201002162100.o1GL09al067428@freefall.freebsd.org>

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

>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 <ctype.h>
+
 #include "gdtoaimp.h"
 
  static void


>Release-Note:
>Audit-Trail:
>Unformatted:



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