Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2018 15:04:21 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Use of undeclared identifier 'fpgetmask'
Message-ID:  <20180120230421.GA57305@troutmask.apl.washington.edu>
In-Reply-To: <20180120222638.GA82875@www.zefox.net>
References:  <20180120222638.GA82875@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 20, 2018 at 02:26:38PM -0800, bob prohaska wrote:
> 
> use of undeclared identifier 'fpgetmask'
> 
> A web search for the phrase finds a very few references, most prominently
> from the year 2014:
> https://www.where-i-go.com/tag/fpsetmask
> but the context is different (mysql server).
> 
> There is a workaround detailed in the web page, but after nearly four
> years it's hard to believe that's still appropriate.
> 
> Is there a more up-to-date solution?
> 
> Thanks for reading,
> 
> bob prohaska
> 

man fpsetmask

Add "#include <ieeefp.h>" to your code.

-- 
Steve



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