Testing libexpat, error: 'NAN' was not declared in this scope

İhsan Doğan ihsan at opencsw.org
Thu Feb 24 21:19:24 CET 2022


Hi Jeffrey,

> Am 24.02.2022 um 21:15 schrieb Jeffrey Walton <noloader at gmail.com>:
> 
>>> 
>>> Sebastian checked in a fix for this. See
>>> https://github.com/libexpat/libexpat/issues/569.
>>> 
>>> I did not realize the portable way to get INFINITY and NAN is
>>> strtof("infinity", NULL) and strtof("nan", NULL), respectively.
>> 
>> Did this patch fix your issue?
> 
> Yes, here's what you want:
> https://github.com/noloader/Build-Scripts/blob/master/patch/expat.patch.
> 
> But it is against libexpat 2.4.5, not OpenCSW's 2.4.4.

Do you know by chance, if 2.4.6 includes the fix?




Regads,

Ihsan


More information about the users mailing list