Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
7782 Discussions

identifier "__builtin_nanf" is undefined

Jurczak__Paul
New Contributor I
653 Views

I installed evaluation version of Intel® Parallel Studio XE 2016 Cluster Edition Update 1 on Windows 10 with Visual Studio 2015 Update 1 Community Edition. I'm getting compilation errors on Microsoft library files:

C:\Program Files\Microsoft Visual Studio 14.0\VC\include\limits(1120): error : identifier "__builtin_nanf" is undefined

I tried /Qstd=c++11 and /Qstd=c++14 compiler options to no effect.

 

0 Kudos
5 Replies
Jurczak__Paul
New Contributor I
653 Views

Nevermind, I just found this report: https://software.intel.com/en-us/articles/limits1120-error-identifier-builtin-nanf-is-undefined. I will test if it works.

Jurczak__Paul
New Contributor I
653 Views

Yes, it does work. Blame Bing for this unnecessary post, Google finds the solution near the top of the page.

pbkenned1
Employee
653 Views

Thanks for confirming the workaround in the report works.  We'd like to track how many issues are being reported against this issue, so I've attached your thread to the developer's problem report, tracking ID DPD200577079.

Patrick

pbkenned1
Employee
653 Views

The compatibility issue with Visual Studio 2015 update 1 is now resolved in Intel C++ compiler 16.0 update 2, which is available now from the Intel Registration Center.

Patrick

TimP
Black Belt
653 Views

Yes, it works for my case.

Reply