Hi
I have a part of a big project that involve lot's of forceinlining that use to compile perfectly with Intel 13.1 and Intel 14.0.
Since Intel C++ 15.0 I have this message:
blabla.cpp
remark #11074: Inlining inhibited by limit max-size
remark #11074: Inlining inhibited by limit max-total-size
remark #11075: To get full report use -Qopt-report:4 -Qopt-report-phase ipo
Which I don't mind, the compiler is right, at some point I will have to remove some useless forceinline to reduce compile time, so I am fine with it.
BUT since an update I made this morning, I have the same message for this cpp, but then the compilation fails.
Even though the compilation did succeed: the .obj is there, valid and ready to be linked.
It boils down to something like that:
blabla.cpp
remark #11074: Inlining inhibited by limit max-size
remark #11074: Inlining inhibited by limit max-total-size
remark #11075: To get full report use -Qopt-report:4 -Qopt-report-phase ipo
========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped ==========
I have to relaunch a build command on my IDE because of a damn wrong "ERRORLEVEL" that I suppose icl did return . It seems at some point that remark was mistaken for as an error.
Here is the command-line (partially pruned from specific files and specific folders):
Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.4.221 Build 20150407
icl /Qvc11 "/Qlocation,link,C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64" /I..\include /Zi /W3 /O2 /Ob2 /Oi /Ot /Qip -D __INTEL_COMPILER=1500 -D _WINDLL -D _UNICODE -D UNICODE /EHsc /MT /GS- /Qoffload-option,mic,compiler, /Zc:wchar_t /Zc:forScope /Qansi-alias /Qopt-report-format:vs /TP