Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Remarks without numbers

SergeyKostrov
Valued Contributor II
3,120 Views

I detected a case when some Intel C++ compilerremarks are displayed without numbers. Please take a look on a generic form:

..\\.cpp(nnn): (col. 1) remark: ?@ has been targeted for automatic cpu dispatch.

Ascreenshot will be provided.

Here is a real example:

------ Build started: Project: IccTestApp, Configuration: Release Win32 ------
Compiling with Intel C++ Compiler XE 12.1.3.300 [IA-32]... (Intel C++ Environment)
icl: command line warning #10121: overriding '/EHs' with '/EHs-'
Stdphf.cpp
C:\\WorkEnv\\AppsWorkDev.R&D\\AppsSca\\ScaLib\\DataSet.cpp(132): (col. 1) remark: ?RunAlgorithm@CDataSet@@UAEEXZ has been targeted for automatic cpu dispatch.
C:\\WorkEnv\\AppsWorkDev.R&D\\AppsSca\\ScaLib\\MatrixSet.cpp(514): (col. 2) remark: ?MulHelper@?$TStrassenHBISet@M$02@@QAEXPAPAM00I@Z has been targeted for automatic cpu dispatch.
C:\\WorkEnv\\AppsWorkDev.R&D\\AppsSca\\ScaLib\\MatrixSet.cpp(612): (col. 2) remark: ?Add@?$TStrassenHBISet@M$02@@QAEXPAPAM00I@Z has been targeted for automatic cpu dispatch.
...
Compiling with Intel C++ Compiler XE 12.1.3.300 [IA-32]... (Intel C++ Environment)
icl: command line warning #10121: overriding '/EHs' with '/EHs-'
IccTestApp.cpp
Linking... (Intel C++ Environment)
xilink: executing 'link'
Creating library ..\\Release\\IccTestApp.lib and object ..\\IccTestApp\\Release\\IccTestApp.exp
Embedding manifest... (Microsoft VC++ Environment)
IccTestApp - 0 error(s), 2 warning(s), 3 remark(s)
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========

Compileroptions are as follows:

/c /O3 /Ob2 /Oi /Ot /I "..\\..\\Include" /D "WIN32" /D "_CONSOLE" /D "NDEBUG" /D "_WIN32_ICC"
/D "INTEL_SUITE_VERSION=PE121_300" /D "_AFXDLL" /D "_VC80_UPGRADE=0x0710" /D "_UNICODE"
/D "UNICODE" /GF /EHsc /MD /GS- /fp:precise /Yu"Stdphf.h"
/Fp"Release\\IccTestApp.pch" /Fo"Release/" /W5 /nologo /TP /Qdiag-disable:473
/U "_WIN32_MSC" /U "_WIN32CE_MSC" /U "WIN32_PLATFORM_PSPC" /U "WIN32_PLATFORM_WFSP"
/U "WIN32_PLATFORM_WM50" /U "_WIN32_MGW" /U "_WIN32_BCC" /U "_COS16_TCC"
/QaxAVX /Qdiag-disable:111,673 /Zc:wchar_t /Zc:forScope /GR /Zm1000 /EHs-c-

My Development Environment:

OS: Windows XP 32-bit
IDE: Visual Studio 2005 SP1
Compilers: Intel C++ / Microsoft C++ / Borland C++ / MinGW / Turbo C++

Intel C++ compiler version ( Composer XE 2011 Update 9 ):

Intel C++ Compiler XE 12.1.3.300 [IA-32]

Best regards,
Sergey

0 Kudos
1 Solution
Om_S_Intel
Employee
3,101 Views
I am planning to submit a feature request to fix the remarks without numbers. It world be nice if you can help with small code segment that produces remarks without numbers.

Thanks,

Om

View solution in original post

0 Kudos
22 Replies
Brandon_H_Intel
Employee
220 Views
Also, you can disable the remark above using /Qdiag-disable:cpu-dispatch: Q:\hello>icl -W5 -QaxAVX -c math.cpp Intel(R) C++ Compiler XE for applications running on IA-32, Version 13.0.0.089 Build 20120731 Copyright (C) 1985-2012 Intel Corporation. All rights reserved. math.cpp math.cpp(3): remark #1418: external function definition with no prior declaration void foo(float * x, float * y, float * z, int n) { ^ math.cpp(6): remark #1: last line of file ends without a newline } ^ Q:\hello\math.cpp(3): (col. 50) remark: ?foo@@YAXPAM00H@Z has been targeted for automatic cpu dispatch. Q:\hello>icl -W5 -QaxAVX -Qdiag-disable:cpu-dispatch -c math.cpp Intel(R) C++ Compiler XE for applications running on IA-32, Version 13.0.0.089 Build 20120731 Copyright (C) 1985-2012 Intel Corporation. All rights reserved. math.cpp math.cpp(3): remark #1418: external function definition with no prior declaration void foo(float * x, float * y, float * z, int n) { ^ math.cpp(6): remark #1: last line of file ends without a newline } ^
0 Kudos
SergeyKostrov
Valued Contributor II
220 Views
>>Also, you can disable the remark above using /Qdiag-disable:cpu-dispatch... Thank you, Brandon!
0 Kudos
Reply