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

Location:
trunk/magic/remove/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/Makefile.am

    r26890 r34089  
    2424STREAKSREMOVE_CFLAGS=-DSTREAKS_COMPRESS_OUTPUT=1
    2525
    26 STREAKSCFLAGS = $(STREAKSREMOVE_CFLAGS) $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS)
    27 STREAKSLDFLAGS = $(STREAKSREMOVE_LIBS) $(PSMODULE_LIBS) $(PSLIB_LIBS)
     26STREAKSCFLAGS = $(STREAKSREMOVE_CFLAGS) $(PSMODULE_CFLAGS) $(PSLIB_CFLAGS) ${NEBCLIENT_CFLAGS}
     27STREAKSLDFLAGS = $(STREAKSREMOVE_LIBS) $(PSMODULE_LIBS) $(PSLIB_LIBS) ${NEBCLIENT_LIBS}
    2828
    2929streaksremove_CFLAGS = $(STREAKSCFLAGS)
  • trunk/magic/remove/src/streakscompare.c

    r30315 r34089  
    165165    }
    166166
     167    if (nebulousImage) { /* do something? */ }
     168
    167169    if (argc != 1) {
    168170        psString unexpectedArguments = NULL;
  • trunk/magic/remove/src/streaksio.c

    r32687 r34089  
    659659
    660660        // Ensure input is of the expected type
    661         psDataType expected = isMask ? PS_TYPE_IMAGE_MASK : PS_TYPE_F32; // Expected type for image
     661        psElemType expected = isMask ? PS_TYPE_IMAGE_MASK : PS_TYPE_F32; // Expected type for image
    662662        for (int i = 0; i < in->imagecube->n; i++) {
    663663            psImage *image = in->imagecube->data[i]; // Image of interest
  • trunk/magic/remove/src/streaksrelease.c

    r30315 r34089  
    288288    } else {
    289289        // we have an image cube
    290         double initValue;
     290        // double initValue;
    291291        if (exciseImageCube) {
    292292            // copy the entire input image to the recovery image
    293293            writeImageCube(sf->recImage, sf->inImage->imagecube, extname, sf->extnum);
    294             initValue = NAN;
     294            // initValue = NAN;
    295295        } else {
    296296            // otherwise write it to the output
    297297            writeImageCube(sf->outImage, sf->inImage->imagecube, extname, sf->extnum);
    298             initValue = 0;
     298            // initValue = 0;
    299299        }
    300300
Note: See TracChangeset for help on using the changeset viewer.