Date: Sun, 21 Jan 2018 10:12:14 -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: <20180121181214.GA73826@troutmask.apl.washington.edu> In-Reply-To: <20180121175840.GA85758@www.zefox.net> References: <20180120222638.GA82875@www.zefox.net> <20180120230421.GA57305@troutmask.apl.washington.edu> <20180121160130.GA85652@www.zefox.net> <20180121173553.GA73646@troutmask.apl.washington.edu> <20180121175840.GA85758@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 21, 2018 at 09:58:40AM -0800, bob prohaska wrote: > > Main.cpp contains a test: > > #ifdef HAVE_IEEEFP_H > #include <ieeefp.h> > #endif > > and, in /usr/ports/graphics/inkscape/work/inkscape-0.92.2/include/config.h is > found > > /* Define to 1 if you have the <ieeefp.h> header file. */ > #define HAVE_IEEEFP_H 1 > > so it looks as if the test is satisfied. > > A brute-force search of the filesystem discloses several copies of ieeefh.h: > /tmp/mountpoint.Jw2teE/www/firefox-esr/work/firefox-52.5.2esr/obj-armv7-unknown-freebsd12.0/config/system_wrappers/ieeefp.h > /usr/include/machine/ieeefp.h > /usr/include/ieeefp.h Does this include fpgetmask and does the compiler include -I/usr/include in its command line? Is config.h included in main.cpp? > Thanks for reading, and any further thoughts! What happens if you force inclusion by deleting #ifdef HAVE_IEEEFP_H? -- Steve 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=IbCHE-hONow
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180121181214.GA73826>