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

Jacek Caban jacek at codeweavers.com
Wed May 30 03:20:40 CDT 2012


On 05/29/12 22:06, Ruslan Kabatsayev wrote:
> 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.
>

Thanks for the report, I've sent a fix:
http://source.winehq.org/patches/data/86689

Cheers,
Jacek



More information about the wine-devel mailing list