Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Access violation or stack overflow during compilation.

$
0
0

I have switched to icc version 16.0.2 (gcc version 5.0.0 compatibility), and now, I cannot compile one of one of my c+++ codes.

Compiler complains:

-------------------------------

[100%] Building CXX object CMakeFiles/test3.dir/maintest3.cpp.o
": internal error: ** The compiler has encountered an unexpected problem.
** Segmentation violation signal raised. **
Access violation or stack overflow. Please contact Intel Support for assistance.

compilation aborted for /homes/doua/tdumont/DGSage/Essai/maintest3.cpp (code 4)

--------------------------

So I contact support...

I join a minimal version of the code, suppressing as most lines as possible. Th code is attached. To compile it:

cd BuildIntel

CXX=icc cmake ..

make

With g++-5.1, it compiles perfecly:

cd Build

cmake ..

make

Thany you in advance.

AdjuntoTamaño
Descargarapplication/x-gzipEssai.tar.gz14.94 KB

Viewing all articles
Browse latest Browse all 1616

Trending Articles



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