IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42761


Ignore:
Timestamp:
Dec 6, 2024, 4:56:27 PM (20 months ago)
Author:
eugene
Message:

fix three build errors

Location:
branches/eam_branches/ipp-20230313
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/Ohana/src/libdvo/src/mosaic_astrom.c

    r42752 r42761  
    6060    j = getDISentry (images[i].tzero, images[i].tzero + (int) images[i].exptime, DIStzero, DISentry, Ndis);
    6161    if (j == -1) {
    62       if (NfailMatch < 100) fprintf (stderr, "WARNING: can't find matching mosaic: ID %d, name: %s, Dateobs %s,  \n", images[i].name);
    63       // char *ohana_sec_to_date (time_t second) {
     62      char *mydate = ohana_sec_to_date (images[i].tzero);
     63      if (NfailMatch < 100) fprintf (stderr, "WARNING: can't find matching mosaic: ID %d, name: %s, Dateobs %s,  \n", images[i].imageID, images[i].name, mydate);
     64      free (mydate);
    6465      NfailMatch ++;
    6566      continue;
  • branches/eam_branches/ipp-20230313/Ohana/src/relphot/src/bcatalog.c

    r42705 r42761  
    199199    if (nEXT >= nPSF) {
    200200      Nmeasure -= Nm;
    201       BAD_COUNT(Ngalaxy);
     201      badCount.Ngalaxy++;
    202202      continue;
    203203    }
     
    209209    if (Nm <= STAR_TOOFEW) { /* enough measurements total? */
    210210      Nmeasure -= Nm;
    211       BAD_COUNT(Nfew);
     211      badCount.Nfew++;
    212212      continue;
    213213    }
     
    219219    if (!anySecfiltGood) {
    220220      Nmeasure -= Nm;
    221       BAD_COUNT(Nfew);
     221      badCount.Nfew++;
    222222      continue;
    223223    }
  • branches/eam_branches/ipp-20230313/psLib/src/db/psDB.c

    r42713 r42761  
    5555
    5656/* my_bool was removed from mysql at version 8.0.1, but not from mariadb */
    57 # if (MYSQL_VERSION_ID >= 80100) && !defined MARIADB_VERSION_ID
     57# if (MYSQL_VERSION_ID >= 80001) && !defined MARIADB_VERSION_ID
    5858  # define MYSQL_BOOL bool
    5959# else
Note: See TracChangeset for help on using the changeset viewer.