compile wine with icc

Tomas Carnecky tom at
Sat Oct 29 07:50:19 CDT 2005

Eric Pouech wrote:
> Dan Kegel wrote:
>> That's expected.  To support icc, one would have to adjust the
>> commandline options a bit depending on the compiler being used.
>> In particular, one would want to suppress many compiler warnings
>> like the ones you mentioned.  icc provides a nice way of suppressing
>> any desired set of warnings.
> I used something like CFLAGS="-g -Wbrief 
> -wd108,144,167,181,188,193,279,556,810,869,981,1287,1418,1419,1572"

problem is, even if I specify CFLAGS on the command-line, wine adds its 
own flags. So the actual compile command looks as follows:

icc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ 
-Wdeclaration-after-statement -Wpointer-arith  -g -Wbrief 
-wd108,144,167,181,188,193,279,556,810,869,981,1287,1418,1419,1572  -o 
c_28604.o c_28604.c

I'd like to get rid of "-Wall -pipe -mpreferred-stack-boundary=2 
-fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement 
-Wpointer-arith"... how can I do that?


More information about the wine-devel mailing list