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

small compiler warning typo

tp5
New Contributor I
435 Views
$ icc -msse2 -march=native
icc: command line warning #10121: overriding '-msse2' with '-marchnative'
0 Kudos
3 Replies
QIAOMIN_Q_
New Contributor I
435 Views

Hello,

Which icc version and which cpu are you using? it compiles fine on my host.

$ icc -V
Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.2.144 Build 20140120
Copyright (C) 1985-2014 Intel Corporation.  All rights reserved.

$ icc -msse2 -march=native
icc: command line error: no files specified; for help type "icc -help"

$ icc -msse2 -march=native q039659.cpp & ./a.out
[1] 85389
Hello World!

 

Thank you.
--
QIAOMINQ.
Intel Developer Support

Please participate in our redesigned community support web site:
User forums:                    http://software.intel.com/en-us/forums/

0 Kudos
tp5
New Contributor I
435 Views
$ icc -V
Intel(R) C Compiler XE for applications running on IA-32, Version 14.0.2.144 Build 20140120

http://ark.intel.com/products/75107/

0 Kudos
QIAOMIN_Q_
New Contributor I
435 Views

Confirmed this typo when running the compiler in IA32 mode ,thanks for your issue submission.

I'll let you know when I have an update from development team.

 


Thank you.
--
QIAOMIN.Q
Intel Developer Support

 

0 Kudos
Reply