On Sun, 31 Dec 2000, Bernhard Rosenkraenzer wrote:

> On Sun, 31 Dec 2000, Francois Gouget wrote:
> 
> >    Your patch is wrong. If it is applied the Wine will not compile with
> > gcc 2.95 (or with the Sun C compiler for that matter):
> >
> >    If you don't write '##xfn' then xfn is epanded before being
> > passed to ICOM_FN. And that's wrong. Just see for yourself.
> 
> You can safely kill this part (the only relevant thing is the one to
> winedef.h); it just kills some compiler warnings.

   I tried compiling with a recent gcc (CVS-20001228) and it's more than
just warnings. This version of gcc complains about the '##' in '##xfn'
then proceeds to expand xfn, and then the ICOM_FN macro.
   So it does not work. So either this version of gcc is wrong in its
macro expansion (and this will hopefully soon be fixed), or our code
must be fixed.

   I have had a few other weird errors with that version of gcc so maybe
I should try to get in touch with the gcc experts (mailing list) and ask
what's up.


--
Francois Gouget         [EMAIL PROTECTED]        http://fgouget.free.fr/
                  Dieu dit: "M-x Lumière". Et la lumière fut.


Reply via email to