<div dir="ltr">Sorry, I meant 5.3.0, and I'm probably mistaken about the compiler version being the cause. I was assuming it was the cause because the beignet AUR package used to compile just fine, and suddenly people started to complain about "isnan not declared in this scope" errors. See the comments on <a href="https://aur.archlinux.org/packages/beignet/?comments=all">https://aur.archlinux.org/packages/beignet/?comments=all</a>, which now applies my patch and seems to fix others' problems with this error. I am compiling on 64 bit Arch Linux.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 28, 2016 at 8:32 PM, Pan, Xiuli <span dir="ltr"><<a href="mailto:xiuli.pan@intel.com" target="_blank">xiuli.pan@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Sean,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I was quite confused with the gcc 3.5.0, I searched on <a href="http://gcc.gnu.org" target="_blank">gcc.gnu.org</a> and found there is no version named 3.5.0.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If you mean the newest version 5.3.0, I have built one release version and try to build beignet and there is no error. Could you post the change log or anything
related to the “removal of isnan and friends from the global namespace”.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The git describe show something misleading may because we have not set any tags for our project. It’s a very good idea for us to have some tags for beignet and
we will figure out how to add some.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Xiuli<u></u><u></u></span></p>
<p class="MsoNormal"><a name="m_1209574856550041488__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></a></p>
<p class="MsoNormal"><a name="m_1209574856550041488______replyseparator"></a><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Beignet [mailto:<a href="mailto:beignet-bounces@lists.freedesktop.org" target="_blank">beignet-bounces@lists.freedesktop.org</a>]
<b>On Behalf Of </b>Sean Lynch<br>
<b>Sent:</b> Saturday, March 26, 2016 11:24 PM<br>
<b>To:</b> <a href="mailto:beignet@lists.freedesktop.org" target="_blank">beignet@lists.freedesktop.org</a><br>
<b>Subject:</b> [Beignet] patch to get beignet to compile on gcc 3.5.0<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi, folks. Due to the removal of isnan and friends from the global namespace, beignet's master does not currently compile on Arch Linux and probably other platforms using gcc 3.5.0 (not sure if this is when it started but at least on this
version). The following patch prepends std:: to isnan and friends and makes beignet compile and, as far as I've been able to tell from my somewhat limited testing (generating simpex noise using Reikna), work.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://gist.github.com/seanlynch/725e2999ba79c54ed3af" target="_blank">https://gist.github.com/seanlynch/725e2999ba79c54ed3af</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have created a "beignet-git" package in the AUR (Arch User Repository) that applies this patch, but I'll remove the patch once it's applied. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Also, please let me know if I shouldn't be using the master branch for the package; the version numbers I'm getting from "git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'" look like "Release_v1.0.0.r676.gad86ed3" when I would
have thought I'd see 1.1.1 in there. <a href="https://aur.archlinux.org/packages/beignet-git/" target="_blank">https://aur.archlinux.org/packages/beignet-git/</a><u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
Beignet mailing list<br>
<a href="mailto:Beignet@lists.freedesktop.org">Beignet@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/beignet" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/beignet</a><br>
<br></blockquote></div><br></div>