(Yet more) int size issues of Guile 3.0 on Windows
Reported by a French user, confirmed via Wine:
$ ~/Téléchargements/lilypond-2.25.12-mingw-x86_64/lilypond-2.25.12/bin/lilypond.exe scheme-sandbox
0198:fixme:reg:NtNotifyChangeMultipleKeys Unimplemented optional parameter
0198:fixme:reg:NtNotifyChangeMultipleKeys Unimplemented optional parameter
0198:fixme:reg:NtNotifyChangeMultipleKeys Unimplemented optional parameter
0198:fixme:reg:NtNotifyChangeMultipleKeys Unimplemented optional parameter
GNU LilyPond 2.25.12 (running Guile 3.0)
019c:fixme:combase:RoActivateInstance (00007FFFFF6EFA40, 00007FFFFF6EF9B8): semi-stub
019c:fixme:combase:RoGetActivationFactory (L"Windows.Management.Deployment.PackageManager", {00000035-0000-0000-c000-000000000046}, 00007FFFFF6EF8A8): semi-stub
019c:fixme:appx:package_manager_FindPackagesByUserSecurityId iface 00007FFFFE9A2680, sid L"", packages 00007FFFFF6EF9C8 stub!
Traitement de « Z:/home/jean/Téléchargements/lilypond-2.25.12-mingw-x86_64/lilypond-2.25.12/share/lilypond/2.25.12
/ly/scheme-sandbox.ly »
Analyse...
GNU Guile 3.0.9
Copyright (C) 1995-2023 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(#{ g91}#)> (* 2 -1)
$1 = -2
(+ 3 -2)
$2 = 1
(+ 3 (* 2 -1))
$3 = -18446744073709551615
^D01ac:fixme:console:default_ctrl_handler Terminating process 194 on event 0
On Windows, LilyPond's patched Guile 3.0 thinks that 3 + 2*(-1) = -18446744073709551615. Note that this number -18446744073709551615 is -(2^64 - 1).
CC @hahnjo