[PATCH] Make wine build with the Intel CC [Resent]

Jonathan Schleifer js at h3c.de
Sun Apr 22 07:14:10 CDT 2007


For some strange reason, this mail didn't appear on the list. Therefore
I resent it. (Maybe it's missing because it included an attached GPG
signature?)


Maarten Lankhorst <m.b.lankhorst at gmail.com> wrote:

> Ok, Please when responding add wine-devel to CC so others can follow
> discussion.

Forgot that, just hit reply. Did that now.

> It's working well for gcc

Which means nothing since gcc often has a very strange, non-standard
behaviour.

> so I would try to find out how gcc works

It ignores that it's defined twice.

> around it and then work around the same way
> .. not adding ifdefs everywhere.

The only idea would be to comment out the whole #ifdef __i386__ if
__INTEL_COMPILER is defined. But I guess that's even worse.

> Some part of headers do checks specifically on GCC, you might want to
> do the same for icc.

ICC defines __GNUC__. And I guess that's the problem. I added some
&& !defined(__INTEL_COMPILER) in winbase.h, but they didn't help.

> Probably, but if you want to get code past julliard it is recommended
> to follow certain guidelines, one of them is not making an unnecesary
> #ifdef hell.

I don't see another way at the moment.

-- 
Jonathan



More information about the wine-devel mailing list