Francois Gouget : winedbg: Fix compilation with gcc 2. 95 and non-GNU compilers.
Eric Pouech
eric.pouech at orange.fr
Wed Apr 21 14:37:47 CDT 2010
Francois Gouget a écrit :
> There were two problems:
> * the semi-colon was missing for non-GNUC compilers as you mentioned
> * gcc 2.95 does not support __attribute__() on function pointers
>
> Unfortunately your patch does not fix the second issue. A solution that
> would not require dbg_vprintf() would be to check the gcc version before
> trying to use __attribute__().
>
>
>
does the attached patch works better ? (I tried your suggestion starting
at gcc 3.0)
A+
--
Eric Pouech
"The problem with designing something completely foolproof is to underestimate the ingenuity of a complete idiot." (Douglas Adams)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: err
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20100421/75808569/attachment.txt>
More information about the wine-devel
mailing list