Overview
| Artifact ID: | fc4b001ff41bf7ebb525d97f0d462f8c04cf451a6e00d04e6b4fbb67c90b8c67 |
|---|---|
| Ticket: | 639208cc7b714bc0e0bb7b70b8b106b8c58c1303
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. |
| User & Date: | oehhar on 2022-03-15 10:40:46 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed 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 changed to: "main"
- is_private changed to: "0"
- login: "oehhar"
- priority changed to: "5 Medium"
- private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "oehhar"
- subsystem changed to: "52. Portability Support"
- title changed 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 changed to: "Bug"