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

Compile errors in MS includes

$
0
0

I'm trying to compile the Spec CPU 2006 benchmarks with the Intel compiler, which I'm using for the first time. Apparently it uses headers from MS Visual Studio, but in some cases it can't compile them. The following errors are failing to compile the MS header "yvals.h". Does anyone know why this might not work? Are there other flags I need to pass?

icl -Qvc9 -c -FoCompute.obj -DSPEC_CPU -DNDEBUG -DSPEC_CPU_WINDOWS  -DWIN32ERFC -QxHOST  -Qipo -O3 -Qprec-div- -Qparallel -Qansi-alias -Qopt-prefetch -Qcxx-features -Qauto-ilp32    /TP      Compute.C

Compute.C
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\yvals.h(666): error: expected a ";"
        __CLR_OR_THIS_CALL _Lockit(const _Lockit&) = delete;
                                                   ^

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\yvals.h(667): error: expected a ";"
        _Lockit& __CLR_OR_THIS_CALL operator=(const _Lockit&) = delete;
                                                              ^

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stddef.h(36): error: identifier "__nullptr" is undefined
  namespace std { typedef decltype(__nullptr) nullptr_t; }
                                   ^

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stddef.h(36): error: expected a ";"
  namespace std { typedef decltype(__nullptr) nullptr_t; }
                                              ^

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stddef.h(37): error: namespace "std" has no member "nullptr_t"
  using ::std::nullptr_t;

 


Viewing all articles
Browse latest Browse all 1616

Trending Articles



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