Artifacts Associated With Ticket 639208cc7b714bc0
Ticket change [fc4b001ff4] (rid 199210) by oehhar on 2022-03-15 10:40:46:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
Following compile warning is interpret as error and compilation stops: C:\test\tcl9.0_tip607-encoding-failindex\win\..\libtommath\bn_mp_set_i64.c(6): warning C4146: Einem vorzeichenlosen Typ wurde ein unärer Minus-Operator zugewiesen. Das Ergebnis ist weiterhin vorzeichenlos. English translation of the German error message: An unary minus operator was assigned to a signless type. The result is still signless. This happened with: * Windows 10 64bit GER operating system * Visual Studio 2015 command prompt: x86 native tools * Command: cd win; nmake -f Makefile.vc release OPTS=noembed,symbols,static * Branch: [a9b94c0646], which should be identical to current main in this respect. The addition of the static option caused this compilation issue. Without static, it does not arise. Thank you and take care, Harald --- P.S.: I tried the static option, as VisualStudio debugging did not work without this patch: [add9ed8887]. I already informed Ashok, if this is ok or I am just doing nonsense.
- foundin initialized to: "main"
- is_private initialized to: "0"
- login: "oehhar"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "oehhar"
- subsystem initialized to: "52. Portability Support"
- title initialized to:
main makefile.vc OPTS=static compile error in libtommath\bn_mp_set_i64.c: An unary minus operator was assigned to a signless type. The result is still signless.
- type initialized to: "Bug"
Ticket change [fa8ea62e41] (rid 199212) by jan.nijtmans on 2022-03-15 10:53:13:
- assignee changed to: "jan.nijtmans"
- icomment:
This C4146 warning is a false positive, there's nothing wrong. In Tcl code this warning is disabled, but not in the libtommath code. I'll see what I can do. Thanks!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [1d53274293] (rid 199241) by jan.nijtmans on 2022-03-15 17:17:13:
- closedate changed to: "2459654.22029132"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed [47d5aef864d74147|here] (even for 8.6, although bn_mp_set_i64.c is not used in 8.6). Thanks!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [939e83b68e] (rid 199242) by oehhar on 2022-03-15 17:52:45:
- closedate changed to: "2459654.24496729"
- closer changed to: "oehhar"
- icomment:
Thank you, Jan. Tested -> all ok. Thanks again, Harald
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"