Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0787358b53c1e59bb8f22ba141e084e5c99aa674dc789b1f1c961b13372691f8
Ticket: 435acb846cbd06ff9147f1fe28ba5ef4871b0e51
libtommath - missing declarations
User & Date: dgp on 2019-12-13 15:59:53
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    When building the trunk, several warnings about "implicit declaration" appear.
    
    .../tclStrToD.c
    /home/dgp/fossil/tcl/generic/tclStrToD.c: In function ‘TclInitDoubleConversion’:
    /home/dgp/fossil/tcl/generic/tclStrToD.c:4322:2: warning: implicit declaration of function ‘TclBN_mp_sqr’ [-Wimplicit-function-declaration]
      mp_sqr(pow5+i, pow5+i+1);
    
    .../bn_mp_div_d.c
    /home/dgp/fossil/tcl/libtommath/bn_mp_div_d.c: In function ‘TclBN_mp_div_d’:
    /home/dgp/fossil/tcl/libtommath/bn_mp_div_d.c:48:7: warning: implicit declaration of function ‘TclBN_mp_div_3’ [-Wimplicit-function-declaration]
           return mp_div_3(a, c, d);
    
    
    .../bn_mp_expt_u32.c
    /home/dgp/fossil/tcl/libtommath/bn_mp_expt_u32.c: In function ‘TclBN_mp_expt_u32’:
    /home/dgp/fossil/tcl/libtommath/bn_mp_expt_u32.c:30:10: warning: implicit declaration of function ‘TclBN_mp_sqr’ [-Wimplicit-function-declaration]
              if ((err = mp_sqr(&g, &g)) != MP_OKAY) {
    
    .../bn_s_mp_karatsuba_sqr.c:65:4: warning: implicit declaration of function ‘TclBN_mp_sqr’ [-Wimplicit-function-declaration]
        if (mp_sqr(&x0, &x0x0) != MP_OKAY)
    
    
    .../bn_s_mp_toom_mul.c
    /home/dgp/fossil/tcl/libtommath/bn_s_mp_toom_mul.c: In function ‘TclBN_mp_toom_mul’:
    /home/dgp/fossil/tcl/libtommath/bn_s_mp_toom_mul.c:149:4: warning: implicit declaration of function ‘TclBN_mp_div_3’ [-Wimplicit-function-declaration]
        if ((err = mp_div_3(&S2, &S2, NULL)) != MP_OKAY)               goto LBL_ERR;
    
    .../bn_s_mp_toom_sqr.c:64:4: warning: implicit declaration of function ‘TclBN_mp_sqr’ [-Wimplicit-function-declaration]
        if ((err = mp_sqr(&a0, &S0)) != MP_OKAY)                       goto LBL_ERR;
    
  5. foundin changed to: "9.0a2"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Important"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "56. LibTomMath"
  14. title changed to: "libtommath - missing declarations"
  15. type changed to: "Bug"