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

Option cannot change across modules: 0

$
0
0

My environment:

ICC 14 Update2, Win 8.1 x64, x64 project build.

When I make adjustment to single .cpp file, and hit F5 for build and run, I get message from IPO linker at the end:

1>  c_box_container.cpp
1>  Option cannot change across modules: 0
1>xilink : error #10014: problem during multi-file optimization compilation (code 1)
1>xilink : error #10014: problem during multi-file optimization compilation (code 1)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

my compile command line from IDE is:

/Yu"stdafx.h" /MP /GS- /Qopenmp /GA /debug:expr-source-pos /Qrestrict /Qansi-alias /Qftz /W3 /Qdiag-disable:"809" /QxHost /Zc:wchar_t /I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include\" /I"c:\Program Files (x86)\Windows Kits\8.1\Include\um\" /I".\" /I"..\3rd_party\portaudio\include\" /I"..\3rd_party\portaudio\bindings\cpp\include\" /I".\includes\" /I"..\3rd_party\libsndfile\src\" /I"src\" /I"..\3rd_party\freeverb3\" /I"..\3rd_party\fftw\api\" /I"c:\Users\vdmn\Documents\develop\wxWidgets-git4\wxWidgets_intel1_c++0x\include\" /I"c:\Users\vdmn\Documents\develop\wxWidgets-git4\wxWidgets_intel1_c++0x\\lib\vc_x64_dll\mswu\" /I"c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\C\common\inc\" /Zi /O3 /Ob2 /Fd"x64\ReleasePrecise\vc120.pdb" /fp:precise /Quse-intel-optimized-headers /Qdiag-enable:sc-include /D "_USING_V110_SDK71_=1" /D "HAVE_INTEL_COMPILER_BUG_03=1" /D "LIBFV3_DOUBLE=1" /D "LIBSRATE2_DOUBLE=1" /D "MY_USE_ALIGNED_NEW_DELETE_OPERATORS" /D "wxUSE_LONGLONG_NATIVE=1" /D "_HAS_EXCEPTIONS=0" /D "MATLAB_MODULE_EXPORTS" /D "RECORDER7_HOST" /D "NDEBUG" /D "_HAS_ITERATOR_DEBUGGING=0" /D "_ITERATOR_DEBUG_LEVEL=0" /D "DEVELOPMENT=0" /D "MY_FV3_EXPORT=__declspec(dllimport)" /D "MY_SRC_EXPORT=__declspec(dllimport)" /D "VSTGUI_USES_UTF8" /D "WXUSINGDLL" /D "wxUSE_GUI" /D "_WINDOWS" /D "_CRT_NONSTDC_NO_DEPRECATE=1" /D "_CRT_SECURE_NO_WARNINGS=1" /D "MY_VST_DLL" /D "__RESTRICT" /D "MY_PA_EXPORT=__declspec(dllimport)" /D "MY_SF_EXPORT=__declspec(dllimport)" /D "RECORDER7_EXPORT=__declspec(dllexport)" /D "FV3_EXPORT=" /D "RECORDER7_PROCESSOR" /D "DEBUG_WANT_ASSERTS=0" /D "_UNICODE" /D "UNICODE" /Qstd=c++11 /Qipo /GF /Zc:forScope /GR /Oi /MD /Fa"x64\ReleasePrecise\" /EHsc /nologo /Fo"x64\ReleasePrecise\" /Ot /Fp"x64\ReleasePrecise\Recorder7_Processor.pch" /Qopt-report-file:"x64\ReleasePrecise\/Recorder7_Processor.rep"

and linker command line from IDE is:

/OUT:"x64\ReleasePrecise\Recorder7_Processor.exe" /MANIFEST /NXCOMPAT /PDB:"x64\ReleasePrecise\Recorder7_Processor.pdb" /qipo_facs /DYNAMICBASE /MAPINFO:EXPORTS "wxbase31u_vc_vdm.lib""wxmsw31u_core_vc_vdm.lib""wxbase31u_net_vc_vdm.lib""..\3rd_party\fftw\win32\x64\ReleasePrecise\libfftw.lib""..\3rd_party\freeverb3\x64\ReleasePrecise\fv3.lib""..\3rd_party\libsamplerate\libsamplerate\x64\ReleasePrecise\libsamplerate.lib""..\3rd_party\libsndfile\libsndfile\x64\ReleasePrecise\libsndfile.lib""..\3rd_party\portaudio\build\msvc\x64\ReleasePrecise\portaudio.lib""avrt.lib""ksuser.lib""kernel32.lib""user32.lib""gdi32.lib""winspool.lib""comdlg32.lib""advapi32.lib""shell32.lib""ole32.lib""oleaut32.lib""uuid.lib""odbc32.lib""odbccp32.lib" /RELEASE /qipo-fa"x64\ReleasePrecise\\" /LARGEADDRESSAWARE /DEBUG /MACHINE:X64 /INCREMENTAL:NO /SUBSYSTEM:WINDOWS /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"x64\ReleasePrecise\Recorder7_Processor.exe.intermediate.manifest" /MAP /NOLOGO /LIBPATH:"c:\Users\vdmn\Documents\develop\wxWidgets-git4\wxWidgets_intel1_c++0x\\lib\vc_x64_dll\" /TLBID:1 

I need to do rebuild whole project to get rid of this error. I have not changed compilation options, just modified .cpp file and hit F5.


Viewing all articles
Browse latest Browse all 1616

Trending Articles



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