Overview
| Artifact ID: | 5804de3c3a93acf23d510d9420dd22dff2a5d2114f779b604a3d470423e6f47f |
|---|---|
| Ticket: | 9dcdddeefe6d6646b76f93f16bd7737e3aa2a12c
compiler warnings |
| User & Date: | dgp on 2025-05-06 16:44:44 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Checkin [3cc7e2aa7d] creates these compiler warnings: In file included from /home/dgp/fossil/tcl9.0/generic/tclTomMath.h:47, from /home/dgp/fossil/tcl9.0/generic/tclStrToD.c:17: /home/dgp/fossil/tcl9.0/generic/tclStrToD.c: In function ‘MakeHighPrecisionDouble’: /home/dgp/fossil/tcl9.0/generic/tclTomMathDecls.h:114:22: warning: ignoring return value of ‘TclBN_mp_init_copy’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 114 | #define mp_init_copy TclBN_mp_init_copy /home/dgp/fossil/tcl9.0/generic/tclStrToD.c:1882:9: note: in expansion of macro ‘mp_init_copy’ 1882 | mp_init_copy(&bntmp, significand); | ^~~~~~~~~~~~ /home/dgp/fossil/tcl9.0/generic/tclTomMathDecls.h:105:18: warning: ignoring return value of ‘TclBN_mp_div_d’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 105 | #define mp_div_d TclBN_mp_div_d /home/dgp/fossil/tcl9.0/generic/tclStrToD.c:1887:13: note: in expansion of macro ‘mp_div_d’ 1887 | mp_div_d(&bntmp, (mp_digit) pow10_wide[n], &bntmp, NULL); | ^~~~~~~~ /home/dgp/fossil/tcl9.0/generic/tclTomMathDecls.h:114:22: warning: ignoring return value of ‘TclBN_mp_init_copy’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 114 | #define mp_init_copy TclBN_mp_init_copy /home/dgp/fossil/tcl9.0/generic/tclStrToD.c:1892:9: note: in expansion of macro ‘mp_init_copy’ 1892 | mp_init_copy(&bntmp, significand); | ^~~~~~~~~~~~ /home/dgp/fossil/tcl9.0/generic/tclTomMathDecls.h:124:18: warning: ignoring return value of ‘TclBN_mp_mul_d’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 124 | #define mp_mul_d TclBN_mp_mul_d /home/dgp/fossil/tcl9.0/generic/tclStrToD.c:1897:13: note: in expansion of macro ‘mp_mul_d’ 1897 | mp_mul_d(&bntmp, (mp_digit) pow10_wide[n], &bntmp); | ^~~~~~~~ - foundin changed to: "9.0"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "48. Number Handling"
- title changed to: "compiler warnings"
- type changed to: "Bug"