Use of undeclared identifier 'fpgetmask'

Steve Kargl sgk at troutmask.apl.washington.edu
Sat Jan 20 23:04:29 UTC 2018


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


More information about the freebsd-ports mailing list