On 2025-03-31 9:28 a.m., Jerome Braun wrote:
Hi Michael!

I'd like to make the smallest change possible to Bob Wheeler's original
code so I'm not sure if using <stdbool.h> is the best route forward.

I do see that the definitions are the same there.  Is there a low-cost way
to use that header file or just those definitions?

The problem is that the definitions may vary from compiler to compiler, and the error message you're getting only shows up some of them. Since the compiler will supply stdbool.h, it's safer to use that than to try to emulate it.

Duncan Murdoch

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to