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__ -DNO_LIBWINE_PORT -DWINE_UNICODE_API="" -D_REENTRANT -fPIC -Wall -pipe -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?
thanks tom