[PATCH 2/3] jscript: Get rid of ret_nan hack

Ruslan Kabatsayev b7.10110111 at gmail.com
Tue May 29 15:06:00 CDT 2012


Hello,

This patch (committed as d0a719a79dae001df341db907fcae54118691d35)
leads to compilation error:

make[1]: Entering directory `/fastdocs/programmer/wine-git/dlls/msadp32.acm'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/fastdocs/programmer/wine-git/dlls/msadp32.acm'
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers
-Wstrict-prototypes -Wtype-limits -Wwrite-strings
-fno-omit-frame-pointer -Wpointer-arith -Wlogical-op
-I/usr/include/freetype2    -I/opt/Xorg-7.5/include
-L/opt/Xorg-7.5/lib   -o string.o string.c
lex.c: In function ‘cc_token’:
lex.c:936:71: error: ‘NAN’ undeclared (first use in this function)
lex.c:936:71: note: each undeclared identifier is reported only once
for each function it appears in
make[1]: *** [lex.o] Error 1

I've tried doing git clean -xdf, but this still doesn't compile.

Regards,
Ruslan

On Tue, May 29, 2012 at 2:53 PM, Jacek Caban <jacek at codeweavers.com> wrote:
> ---
>  dlls/jscript/date.c    |   28 ++++++++++++++--------------
>  dlls/jscript/error.c   |    3 ++-
>  dlls/jscript/global.c  |    2 +-
>  dlls/jscript/jscript.h |    7 -------
>  dlls/jscript/jsutils.c |    6 +++---
>  dlls/jscript/lex.c     |    2 +-
>  6 files changed, 21 insertions(+), 27 deletions(-)
>
>
>
>
>



More information about the wine-devel mailing list