Hi Tom,

> Le 27 sept. 2019 à 21:28, Tom Kramer <kra...@nist.gov> a écrit :
> 
> Hello bison bug fixers -
> 
> I installed bison 3.4.2 this afternoon. During the process I ran 'make check".
> 
> 252 254 255 282 283 284 285 425 430 432 434 435 445 446 447 525 failed. A zip 
> file with the logs is attached.

All the failures are due to a single error:

> In file included from /usr/include/c++/4.8/cmath:44:0,
>                  from /usr/include/c++/4.8/random:38,
>                  from /usr/include/c++/4.8/bits/stl_algo.h:65,
>                  from /usr/include/c++/4.8/algorithm:62,
>                  from location.hh:41,
>                  from input.hh:90,
>                  from input.cc:50:
> /home/isd/kramer/temp/bison-3.4.2/lib/math.h: In function 'bool 
> isnan(double)':
> /home/isd/kramer/temp/bison-3.4.2/lib/math.h:2849:1: error: new declaration 
> 'bool isnan(double)'
>  _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isnan, isnan, bool)
>  ^
> In file included from /usr/include/features.h:374:0,
>                  from 
> /usr/include/x86_64-linux-gnu/c++/4.8/bits/os_defines.h:39,
>                  from 
> /usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h:426,
>                  from /usr/include/c++/4.8/cstdlib:41,
>                  from input.hh:48,
>                  from input.cc:50:
> /usr/include/x86_64-linux-gnu/bits/mathcalls.h:234:1: error: ambiguates old 
> declaration 'int isnan(double)'
>  __MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));
>  ^

so this is "only" a portability issue of our test suite, it's not a problem in 
Bison itself.  Thanks a logs, but actually the file testsuite.log in tests/ 
contains more information, including config.log which we need to understand why 
lib/math was installed, and why it wants to install a "better" isnan.

Could you please send testsuite.log or config.log?  Thanks in advance!

Reply via email to