Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Browsing all 1175 articles
Browse latest View live

Compilation gets stuck with flag -Wshadow when using boost/operators

The following code can not be compiled with the Intel C++ compiler and flag -Wshadow. The compilation gets stuck without any further error message. However, the code compiles fine with the Intel C++...

View Article


omp pragma different time

Hi,I'm  working  on a complicated  project, that requires a parallel  calculations  in  order to achieve  good time performance.Our  company  bought  for  this purpose  intel xeon platinum 8168...

View Article


omp different time execution

Hi,I am working with complicated algorithm, that requires a lot of computations. For this purpose, Intel Xeon Platinum 8168 CPU  was puchased - with 96 Cores(name  96). Besides, we already have Intel...

View Article

LLD cannot output functional shared object with object file generated by ICPC

Here is the sample:~$ cat lib.h #ifndef LIB_H_ #define LIB_H_ void foo(); #endif ~$ cat lib.cpp #include <iostream> #include "lib.h" void foo() { std::cout << "Hello, world!"<<...

View Article

xmm16 used without specifying AVX512

I have a weird issue that I don't understand. One of my customers has a problem with my software (it crashes immediately on startup, with a c000001d - invalid instruction - exception). Unfortunately I...

View Article


ldexpf already defined linker error

Hi, when I try to build a project with intel compiler 19.0 , I get following linker error:1>libmmd.lib(libmmd.dll) : : error LNK2005: ldexpf already defined in...

View Article

Image may be NSFW.
Clik here to view.

Segmentation fault when compiling with icpc

Hello,I ran into a strange problem with icpc when compiling the attached C++ code. When I compile with icpc -O0 icpc_segfault.cpp -o icpc_segfault the program crashes with a segmentation fault. If I...

View Article

Intel C++ for Windows __cplusplus value

When I specify the /Qstd=c++0x command line option for Intel C++ on Windows this is the equivalent of C++11 according to documentation at...

View Article


SIGSEGV __kmp_cleanup_threadprivate_caches()

I am getting segmentation fault at:  signal SIGSEGV, Segmentation fault.0x00007f21293df7c3 in __kmp_cleanup_threadprivate_caches () at ../../src/kmp_threadprivate.cpp:812Since, I can't provide code...

View Article


Intel C++ 19.0 for Windows invalid macro expansion with stringizing operator

This example is taken from the C++ standard when discussing the rules for redefinition and reexamination. Given:#define str(x) # xthe macrto expansion of:char c[2][6] = { str(hello), str() };should...

View Article

ICC 2019 on VS2019: std::map inserted gives unexpected results

Hello!I use ICC 2019 update 5 embedded into VS2019 16.1.6. I observed something strange with std::map::insert(). I perform insertion of elements from a std::vector<int> to a std::map<int,...

View Article

omp pragma different time

Hi,I'm  working  on a complicated  project, that requires a parallel  calculations  in  order to achieve  good time performance.Our  company  bought  for  this purpose  intel xeon platinum 8168...

View Article

ICC 2019 on VS2019: std::map inserted gives unexpected results

Hello!I use ICC 2019 update 5 embedded into VS2019 16.1.6. I observed something strange with std::map::insert(). I perform insertion of elements from a std::vector<int> to a std::map<int,...

View Article


Do you know if Intel plan to release for free its compiler ?

I have made a game engine based on voxel, using only the CPU and here's the benchmark I made, for 1 million voxels:20 FPS for a non optimized code, using Visual Studio compiler144 FPS for an optimized...

View Article

Optimize pow(x, n) + pow(y, n) == pow(z, n)

I'm having a go at the xn + yn = zn problem and want to see how fast I can make it go and if I can get a result but I cant figure out how to make my code vectorize or parallelize:#include...

View Article


Intel 19 type-deduction allows non-const lvalue reference to prvalue

Intel 19 (Update 5) for Windows introduces a regression in which it is possible to take a non-const l-value reference to a temporary (prvalue). This code is correctly flagged in VS2019 as...

View Article

operator with default definition fails to compile

When overriding operator `=` with default fails to compile.Is this a bug or am I missing something?Error Messageicpc -std=c++17 sample.cpp ld: /tmp/icpczIU0ix.o:(.rodata._ZTV6Entity[_ZTV6Entity]+0x10):...

View Article


Assertion failed at "shared/cfe/edgcpfe/ms_lower_name.c"

Hello,Our software product is built with MSVC. Now I want to only rebuild the computing module with Intel compiler while other parts are still compiled with MSVC. The computing module consists of three...

View Article

Image may be NSFW.
Clik here to view.

command line remark #10148: option '/Qvec-report0' not supported

When I use Intel(R) compiler 19.0 to compile a program, a note appears: command line remark #10148: option '/Qvec-report0' not supported. I don't know what that means. Is there any expert who can help...

View Article

Image may be NSFW.
Clik here to view.

No intel C++ compiler installed even though I have installed it

I have installed intel c++ compiler  in windows  server 2012 R2 using PSXE2019 cluster edtion. But, I don't find the intel c++ compiler tool in the visual...

View Article
Browsing all 1175 articles
Browse latest View live


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