IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:47:13 AM (14 years ago)
Author:
eugene
Message:

changes to support pedantic gcc warnings; add configure option for debug-build and no-as-needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubMatchPSFs.c

    r32676 r34089  
    266266        if (!detections->allSources) {
    267267            psFree(detections);
    268             psErrorCode error = psErrorCodeLast(); // Error code
     268            int error = psErrorCodeLast(); // Error code
    269269            if (error == PM_ERR_OBJECTS) {
    270270                psErrorStackPrint(stderr, "Unable to match source lists");
     
    439439
    440440    if (!success) {
    441         psErrorCode error = psErrorCodeLast(); // Error code
     441        int error = psErrorCodeLast(); // Error code
    442442        if (error == PM_ERR_STAMPS) {
    443443            psErrorStackPrint(stderr, "Unable to find stamps");
     
    471471            psRegion *region = regItem->data.V; // Region of interest
    472472            psMetadataItem *modeItem = psMetadataGetAndIncrement(modeIter); // Item with mode
    473             psAssert(modeItem && modeItem->type == PS_TYPE_S32, "Expect subtraction mode");
     473            psAssert(modeItem && modeItem->type == PS_DATA_S32, "Expect subtraction mode");
    474474            pmSubtractionMode mode = modeItem->data.S32; // Subtraction mode
    475475            psMetadataItem *normItem = psMetadataGetAndIncrement(normIter); // Item with normalisation
    476             psAssert(normItem && normItem->type == PS_TYPE_F32 && isfinite(normItem->data.F32),
     476            psAssert(normItem && normItem->type == PS_DATA_F32 && isfinite(normItem->data.F32),
    477477                     "Expect normalisation");
    478478            float norm = normItem->data.F32; // Normalisation
Note: See TracChangeset for help on using the changeset viewer.