Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7833 Discussions

problem with C99 functions prototipes on Intel C 2017

New Contributor I


I keep my Intel C compiler 2013 until recently. A few days ago I bought the 2017 version. The Intel C 2017 is integrated with VS 2015, Community Edition. 

I frequently use functions such as sincos() and sincosf().  With Intel C 2013, it is OK. But when I use the new compiler it complains for lack of prototipe, at compilation time, but after that the linker correctly find and link the symbol. The include of Intel Math library is present:

#include <mathimf.h>

And the language is specified as :  /Qstd=c99.   Were sincos() and sincosf() removed form mathimf.h ?

Thanks ,





0 Kudos
2 Replies
New Contributor I

A clarification:  sincos() and sincosf() are not part of C99 math library.  They have being part of <mathimf.h> for as long as I can remember.


0 Kudos
New Contributor I

More clarifications:

sincos()  and the rest of the family are resolved at link time.   The compiler emits warning for lack of function prototype but they are linked ok. And they are present at <mathimf.h>  but are not available for Windows compilation ( ? ).

On the other hand , the 2017 compiler is complaining about "long double"  . Even adding /Qlong-double it is emitting errors for not knowing the C99 standard long double type.

It is a very confusing situation for my understanding, a step back from composer XE 2013.

Follows the information regarding my installation:

Microsoft Visual Studio Community 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.7.02046

Installed Version: Community

Visual Basic 2015   00322-20000-00000-AA405
Microsoft Visual Basic 2015

Visual C# 2015   00322-20000-00000-AA405
Microsoft Visual C# 2015

Visual C++ 2015   00322-20000-00000-AA405
Microsoft Visual C++ 2015

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Intel Debugger for Heterogeneous Compute   1.0
Provides debugging capabilities for compute shaders running on the Intel GPU.

Intel® Parallel Studio XE 2017 Update 4 Composer Edition for C++ Windows*   Package ID: w_comp_lib_2017.4.210
Intel® Parallel Studio XE 2017 Update 4 Composer Edition for C++ Windows* Integration for Microsoft* Visual Studio* 2015, Version, Copyright © 2002-2017 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

NuGet Package Manager   3.4.4
NuGet Package Manager in Visual Studio. For more information about NuGet, visit

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

TypeScript tools for Visual Studio




0 Kudos