From owner-freebsd-ports@freebsd.org Sat Jan 20 23:04:29 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07AD7ECBEC9 for ; Sat, 20 Jan 2018 23:04:29 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D8FE86F03D for ; Sat, 20 Jan 2018 23:04:28 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id w0KN4LYs057313 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 20 Jan 2018 15:04:21 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id w0KN4LSr057312; Sat, 20 Jan 2018 15:04:21 -0800 (PST) (envelope-from sgk) Date: Sat, 20 Jan 2018 15:04:21 -0800 From: Steve Kargl To: bob prohaska Cc: freebsd-ports@freebsd.org Subject: Re: Use of undeclared identifier 'fpgetmask' Message-ID: <20180120230421.GA57305@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20180120222638.GA82875@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180120222638.GA82875@www.zefox.net> User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2018 23:04:29 -0000 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 " to your code. -- Steve