- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
Using ICL 13 SP1 Update 5 and Visual Studio 2013 Update 4 I get the following error on multiple files:
C:\Program Files (x86)\Intel\Composer XE 2013 SP1\compiler\include\atomic(16): internal error: access violation #include_next <atomic> ^
I've attached the following things:
- Files this error occurs on
- Build log
- Preprocess of those files
There are many more files where the same issue occurs, but too many to include.
Any help would be greatly appreciated!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An update to this, modifying atomic to the following:
#ifndef __USE_INTEL_ATOMICS #if _MSC_VER > 0 && _MSC_VER <= 1800 #define __USE_INTEL_ATOMICS 1 #endif #if __GNUC__ > 0 && (__GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 5) #define __USE_INTEL_ATOMICS 1 #endif #if defined(__VXWORKS__) #define __USE_INTEL_ATOMICS 1 #endif #endif #if __USE_INTEL_ATOMICS #include <stdatomic.h> #else #include_next <atomic> #endif
Changes the issues to being the exact same issue as defined in this previous thread Intel C++ 2013 compatibility issue with VC++11 in <atomic>. The problem is the temporary solution provided there doesn't work, because the error changes from already declared in scope to undefined.
EDIT: Can also confirm this occurs on ICL 15 Update 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not sure if this is an internal compiler error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't reproduce any errors or warnings using your pre-processed files. What's your command line?
C:\ISN_Forums\U545082\Intel Debug>icl -c GenericModule.i plugin-container.i -Qstd=c++11 /TP
Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.2.179 Build 20150121
Copyright (C) 1985-2015 Intel Corporation. All rights reserved.
GenericModule.i
plugin-container.i
C:\ISN_Forums\U545082\Intel Debug>
Patrick

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page