IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 16, 2023, 8:42:18 AM (3 years ago)
Author:
eugene
Message:

fix tests to deal with API change to psPlaneTransformAlloc and the warnings from newer gcc version (sprintf -> ps_snprintf_nowarn); tests build (though many fail)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/psModules/test/astrom/tap_pmAstrometryWCS_DVO4.c

    r21220 r42501  
    2323void test2x(); // small rotation with central offset
    2424void test3x(); // 2nd order term in WRP with central offset
     25
     26bool RegisterMosaic (Coords *in) {
     27    return true;
     28}
    2529
    2630int main (void)
     
    898902    psMetadata *header = psMetadataAlloc();
    899903
    900     sprintf (name, "RA--%s", &coords[0].ctype[4]);
     904    ps_snprintf_nowarn (name, 16, "RA--%s", &coords[0].ctype[4]);
    901905    psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE1", PS_META_REPLACE, "", name);
    902     sprintf (name, "DEC-%s", &coords[0].ctype[4]);
     906    ps_snprintf_nowarn (name, 16, "DEC-%s", &coords[0].ctype[4]);
    903907    psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE2", PS_META_REPLACE, "", name);
    904908
Note: See TracChangeset for help on using the changeset viewer.