Files
nethack/sys/share
nhmall ba5356603a yn()
A number of C compiler suites have a math.h library that includes a yn()
function name that conflicts with NetHack's yn() macro:
"The y0(), y1(), and yn() functions are Bessel functions of the second kind,
for orders 0, 1, and n, respectively. The argument x must be positive. The
argument n should be greater than or equal to zero. If n is less than zero,
there will be a negative exponent in the result."

At one point, isaac64.h included math.h, although that has since been removed.

Some libraries used in NetHack (Qt for one) do include math.h and that required
build work-arounds to avoid the conflict.

Rename the NetHack macro from yn() to y_n() and avoid the math.h conflict
altogether, eliminating the need for that particular work-around.
2023-01-12 16:04:40 -05:00
..
2022-02-15 15:22:34 -05:00
2022-11-13 22:25:07 -05:00
2021-01-26 21:06:16 -05:00
2022-02-13 09:10:53 -05:00
2023-01-12 16:04:40 -05:00
2023-01-12 15:38:15 -05:00
2022-09-17 15:57:52 -04:00
2023-01-12 16:04:40 -05:00
2022-09-14 20:23:48 -04:00
2022-07-01 13:08:43 -07:00
2022-10-26 14:21:23 -04:00
2022-10-29 10:54:25 -04:00
2002-01-05 21:05:58 +00:00
2002-01-05 21:05:58 +00:00
2022-11-19 00:49:11 -08:00
2022-10-29 10:54:25 -04:00