Changeset 510 for trunk/ADOL-C/include


Ignore:
Timestamp:
May 14, 2014 9:00:51 AM (5 years ago)
Author:
kulshres
Message:

get rid of some more clang compiler warnings

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/include/adolc/adtl.h

    r508 r510  
    294294inline void setNumDir(const size_t p) {
    295295    if (refcounter::refcnt > 0) {
    296         fprintf(DIAG_OUT, "ADOL-C Warning: Tapeless: Setting numDir will not change the number of\n directional derivative in existing adoubles and may lead to erronious results\n or memory corruption\n Number of currently existing adoubles = %z\n", refcounter::refcnt);
     296        fprintf(DIAG_OUT, "ADOL-C Warning: Tapeless: Setting numDir will not change the number of\n directional derivative in existing adoubles and may lead to erronious results\n or memory corruption\n Number of currently existing adoubles = %zu\n", refcounter::refcnt);
    297297    }
    298298    if (p < 1) {
     
    305305inline void setMode(enum Mode newmode) {
    306306    if (refcounter::refcnt > 0) {
    307         fprintf(DIAG_OUT, "ADOL-C Warning: Tapeless: Setting mode will the change the mode of\n computation in previously computed variables and may lead to erronious results\n or memory corruption\n Number of currently exisiting adoubles = %z\n", refcounter::refcnt);
     307        fprintf(DIAG_OUT, "ADOL-C Warning: Tapeless: Setting mode will the change the mode of\n computation in previously computed variables and may lead to erronious results\n or memory corruption\n Number of currently exisiting adoubles = %zu\n", refcounter::refcnt);
    308308    }
    309309    adouble::forward_mode = newmode;
Note: See TracChangeset for help on using the changeset viewer.