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

Intel C++ Compiler warnings on Windows with MSVC

$
0
0

Hi,

I'm trying the intel compiler (normally use MSVC 2013), and I get lots of warnings, pretty always. I added "/Qvc12", but that doesn't seem to make difference (/Qvc10 made the compiler dysfunctional). Any ideas? Here are the warnings I always get:

 

  C:/Program Files (x86)/Microsoft Visual Studio 12.0/Vc/include/stddef.h(29): war
ning #2157: NULL defined to 0 (type is integer not pointer)
  #define NULL    0
                   ^

C:/Program Files (x86)/Windows Kits/8.1/Include/um/winnt.h(5756): warning #161:
unrecognized #pragma
  #pragma prefast(push)
          ^

C:/Program Files (x86)/Windows Kits/8.1/Include/um/winnt.h(5758): warning #161:
unrecognized #pragma
  #pragma prefast(disable: 6001 28113, "The barrier variable is accessed only to
 create a side effect.")
          ^

C:/Program Files (x86)/Windows Kits/8.1/Include/um/winnt.h(5773): warning #161:
unrecognized #pragma
  #pragma prefast(pop)
          ^

C:/Program Files (x86)/Windows Kits/8.1/Include/um/winbase.h(8816): warning #319
9: "defined" is always false in a macro expansion in Microsoft mode
  #if MICROSOFT_WINDOWS_WINBASE_H_DEFINE_INTERLOCKED_CPLUSPLUS_OVERLOADS  /* { *
/
      ^

C:/Program Files (x86)/Windows Kits/8.1/Include/um/shlobj.h(972): warning #2650:
 attributes ignored here
  DECLSPEC_DEPRECATED SHSTDAPI    ILLoadFromStream(_In_ IStream *pstm, _Inout_ P
IDLIST_RELATIVE *pidl);
  ^

C:/Program Files (x86)/Microsoft Visual Studio 12.0/Vc/include/xatomic0.h(78): w
arning #864: extern inline function "std::_Atomic_compare_exchange_weak_4" was r
eferenced but not defined
  inline int _Atomic_compare_exchange_weak_4(
             ^

C:/Program Files (x86)/Microsoft Visual Studio 12.0/Vc/include/xatomic0.h(80): w
arning #864: extern inline function "std::_Atomic_fetch_add_4" was referenced bu
t not defined
  inline _Uint4_t _Atomic_fetch_add_4(
                  ^

C:/Program Files (x86)/Microsoft Visual Studio 12.0/Vc/include/xatomic0.h(82): w
arning #864: extern inline function "std::_Atomic_fetch_sub_4" was referenced bu
t not defined
  inline _Uint4_t _Atomic_fetch_sub_4(
                  ^

I could five with it, but it honestly sucks, no way to find some real stuff in that mess.

Thanks in advance.


Viewing all articles
Browse latest Browse all 1616

Trending Articles



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