﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3141	Compiler-specific flags without checking for compiler	joseph.schuchart@…	Adeel Asghar	"Hi all, 

I am building OMC (make omc) using the Intel compiler. It works fine but the Intel compiler issues warnings about the following flags that it does not understand:

{{{
icc: command line warning #10006: ignoring unknown option '-fno-tree-ch'
icc: command line warning #10006: ignoring unknown option '-fno-tree-vrp'
icc: command line warning #10006: ignoring unknown option '-fno-tree-pre'
}}}

They are added in configure.in to circumvent a GCC bug. However, they are added unconditionally and independently of the type of compiler being used. 

Additionally, the following flags are used in the 3rdParty/Ipopt-3.11.6/ThirdParty/Mumps package. 

{{{
ifort: command line remark #10148: option '-cm' not supported
ifort: command line remark #10148: option '-w90' not supported
ifort: command line remark #10148: option '-w95' not supported
}}}

I'm not sure where they are added. 

I suggest that adding compiler-specific flags is guarded by a check for the compiler vendor and version to prevent these warnings (and possible build failures with other compilers). "	defect	closed	normal	never	Build Environment	trunk	invalid		joseph.schuchart@… Martin Sjölund
