Quantcast
Channel: Intel® C++ Compiler
Browsing all 1616 articles
Browse latest View live

identifier "__builtin_expect" is undefined

identifier "__builtin_expect" is undefinedplease explain.

View Article


variadic tempalte deduction fails when default arguments are involved

Hi,While porting some c++ code from linux to windows (using Intel Composer XE 2014 Update 1 on Windows) I came across a piece of code which is similar to the following: template<class T1 = int,...

View Article


Corruption with the optimization compiler option

Why does the optimization crush the code so much it changes the outcome of the code and how can I stop it?

View Article

pmovsxwd is not working with Intel C++ compiler

Hi,In my application am trying to use pmovsxwd assembly instruction in MSVC 2008 IDE with Intel C++ compiler. But the instruction not working properly as described in the instruction set guide. Did any...

View Article

Possible bug with variadic templates and initializer list?

Hi,If I try to compile #include<initializer_list> #include<iostream> void foo(std::initializer_list<int> a) {   for(auto b : a)     std::cout << b << std::endl; }...

View Article


Intel® C++ Composer XE 2013 SP1 for Windows*, Update 2

Intel® C++ Composer XE 2013 SP1 Update 2 includes the latest Intel C/C++ compilers and performance libraries for IA-32 and Intel® 64 architecture systems. This new product release now includes: Intel®...

View Article

Porting code from windows over to linux

Hello, I am using icpc compiler on both windows (visual studio 2012) and linux (which has g++ 4.8.2 installed). I am running into issues with porting the code from one OS to another. Code that compiles...

View Article

Intel C++ Composer XE 2013 SP1 Update 2 with VS 2010 problem

OS: Windows 8.1 x64IDE: MS VS 2010Downloaded and installed Intel C++ Composer XE 2013 SP1 Update 2, Version 2013.1.2.176.Was previously using Intel C++ Composer XE 2013 SP1 Update 1 for Windowswith no...

View Article


Error using compilervars.csh or ippvars.csh - arch: Undefined variable.

Cross posting for the benefit of others. See original thread here: http://software.intel.com/forums/topic/505599A defect was reported with the Intel® Integrated Performance Primitives (IPP) 8.1 Initial...

View Article


__GNUC_PATCHLEVEL__ Value

For my Linux applications, I like to embed compiler information into the executables.  For the Intel compiler, the __INTEL_COMPILER and __INTEL_COMPILER_UPDATE pre-processor macros give me what I want....

View Article

Problems using std::bind with icc/icpc 14.0.2 and gcc 4.8

I have had a some problems in the past using icc/icpc with gcc 4.8 as described here. It appears that the problem has been partially fixed with the release of 14.0.2 however I am still having problems...

View Article

Image may be NSFW.
Clik here to view.

Possible C compiler bug

Hello everyone, the attached test program gives wrong results when compiled with -O1 using the compiler versions 12.1.1, 12.1.6, 13.1.3, or 14.0.1 while it produces the expected results with gcc 4.4.7....

View Article

Intel® System Studio 2014 Beta - Articles Archive

OverviewWhat's New OverviewDetailed New Feature OverviewIntel® System Studio 2014 for Linux* - System RequirementsIntel® System Studio - Perfect Fit for Wind River* Linux* (PDF)Build and Design for...

View Article


internal_error: 20000_27078 since updating to 2013 sp1

I get this very cryptic and unhelpful error message since updating to 2013 sp1 Update 2 (also happened with SP1 and SP1 Update 1).  In the past I have just reverted back to the 2013 suite to solve this...

View Article

Image may be NSFW.
Clik here to view.

Intel(R) C++ Compiler 2014 for Android* Getting Started Guide: Linux* Host

Idioma Inglés Adjunto: Descargarl_cc_getting_started.pdf

View Article


Image may be NSFW.
Clik here to view.

Intel(R) C++ Compiler 2014 for Android* Getting Started Guide: Windows* Host

Idioma Inglés Adjunto: Descargarw_cc_getting_started.pdf

View Article

“FUNCTION WAS VECTORIZED” but it doesn't vectorize on the place of the...

The present question relates to an already existing question on Stackoverflow with the difference that in this case AVX is the target ISA and that the function to be vectorized is more complex. When I...

View Article


Selective Use of gatherhint/scatterhint Instructions

Compiler Methodology for Intel® MIC ArchitectureSelective Use of gatherhint/scatterhint InstructionsOverviewThe -opt-gather-scatter-unroll=<N> compiler option can be used to generate...

View Article

Requirements for C++11 Support on Windows

I have Intel C++ 14.0.2 installed on Windows 7 with Visual Studio 2008. I need to use some C++11 features, such as: #include <memory> int main(int argc, char** argv){   std::unique_ptr<int>...

View Article

I don't understand 'm' flag!

Trying to compile Boost with icc (from composer XE 2013 SP 1.2.139) using the -x assembler-with-cpp flag and getting the following error...$     "icc" -x assembler-with-cpp -O3 -xHost   -inline-level=2...

View Article
Browsing all 1616 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>