From stolz@i2.informatik.rwth-aachen.de  Mon Jun  2 23:36:32 2003
Return-Path: <stolz@i2.informatik.rwth-aachen.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7036B37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Jun 2003 23:36:32 -0700 (PDT)
Received: from atlas.informatik.rwth-aachen.de (atlas.Informatik.RWTH-Aachen.DE [137.226.194.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2D31043F93
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Jun 2003 23:36:31 -0700 (PDT)
	(envelope-from stolz@i2.informatik.rwth-aachen.de)
Received: from menelaos.informatik.rwth-aachen.de (menelaos.Informatik.RWTH-Aachen.DE [137.226.194.73])
	by atlas.informatik.rwth-aachen.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id h536aTK04467
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 3 Jun 2003 08:36:30 +0200
Received: (from stolz@localhost)
	by menelaos.informatik.rwth-aachen.de (8.12.9/8.12.9/Submit) id h536aTTb028919;
	Tue, 3 Jun 2003 08:36:29 +0200 (CEST)
	(envelope-from stolz)
Message-Id: <200306030636.h536aTTb028919@menelaos.informatik.rwth-aachen.de>
Date: Tue, 3 Jun 2003 08:36:29 +0200 (CEST)
From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Reply-To: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: fpsetprec/fp_prec_t unsupported on alpha?
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52882
>Category:       alpha
>Synopsis:       fpsetprec/fp_prec_t unsupported on alpha?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-alpha
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 02 23:40:18 PDT 2003
>Closed-Date:    Wed May 05 02:54:47 PDT 2004
>Last-Modified:  Wed May 05 02:54:47 PDT 2004
>Originator:     Volker Stolz
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Lehrstuhl fr Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.8-STABLE FreeBSD 4.8-STABLE #4: Tue Apr 29 11:28:13 CEST 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


>Description:
fpsetprec(3) says that I can find it in ieeefp.h (which is machine specific).
It's there for i386, but alpha (and sparc64) lacks the function and the enum.
Is this simply missing or not supported at all? If not, this should be documented
in the man page. [Applies to -CURRENT as well]
>How-To-Repeat:
Build graphics/gts on -alpha or see bento's log at:
http://bento.freebsd.org/errorlogs/alpha-5-latest/gts-0.7.1.log
predicates_init.c: In function `main':
predicates_init.c:46: implicit declaration of function `fpsetprec'
predicates_init.c:46: `FP_PD' undeclared (first use in this function)
predicates_init.c:46: (Each undeclared identifier is reported only once
predicates_init.c:46: for each function it appears in.)
predicates_init.c:105: `FP_PE' undeclared (first use in this function)

>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: das 
State-Changed-When: Wed May 5 02:53:37 PDT 2004 
State-Changed-Why:  
The functionality provided by fpsetprec() is not available 
on alpha or sparc64.  I have documented this fact in the 
manpage. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52882 
>Unformatted:
