IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34080


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

changes to configure.ac to support debug-build; fixes for pedantic gcc warnings

Location:
trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous

    • Property svn:ignore
      •  

        old new  
         1MYMETA.json
         2MYMETA.yml
        13Build
        24META.yml
  • trunk/Nebulous/nebclient/tests/tap/src/tap.c

    r12605 r34080  
    8787    if(test_name != NULL) {
    8888        va_start(ap, test_name);
    89         vasprintf(&local_test_name, test_name, ap);
     89        int status = vasprintf(&local_test_name, test_name, ap);
     90        if (status) {/* warning? */}
    9091        va_end(ap);
    9192
     
    303304
    304305    va_start(ap, fmt);
    305     asprintf(&skip_msg, fmt, ap);
     306    int status = asprintf(&skip_msg, fmt, ap);
     307    if (status) {/* warning? */}
    306308    va_end(ap);
    307309
     
    328330
    329331    va_start(ap, fmt);
    330     vasprintf(&todo_msg, fmt, ap);
     332    int status = vasprintf(&todo_msg, fmt, ap);
     333    if (status) {/* warning? */}
    331334    va_end(ap);
    332335
  • trunk/dvoTools/configure.ac

    r19589 r34080  
    88AM_MAINTAINER_MODE
    99
    10 IPP_STDCFLAGS
     10IPP_STDLDFLAGS
    1111
    1212AC_LANG(C)
     
    2121
    2222IPP_STDOPTS
    23 CFLAGS="${CFLAGS=} -Wall -Werror"
     23IPP_STDCFLAGS
    2424
    2525AC_CONFIG_FILES([
  • trunk/extsrc/gpcsw/Makefile.in

    r31150 r34080  
    99
    1010clean:
    11         echo "dummy clean"
     11        cd gpcsrc && make -C fits/libfh clean
     12        cd gpcsrc && make -C fits/libfhreg clean
     13        cd gpcsrc && make -C analysis/libpscoords clean
     14        cd gpcsrc && make -C fits/burntool clean
     15        cd gpcsrc && make -C fits/tiltystreak clean
    1216
    1317update:
  • trunk/extsrc/gpcsw/configure.tcsh

    r24663 r34080  
    77
    88# evaluate command-line options
     9set vararch = 0
     10set optimize = 0
     11set pedantic = 1
     12set no_as_needed = 0
     13set debug_build = 0
     14set memcheck = 0
     15set use_tcmalloc = 0
     16set use_gnu99 = 0
     17set no_largefiles = 0
     18
    919set prefix  = ""
    1020set bindir  = ""
     
    2232
    2333while ("$1" != "")
    24  echo "checking $1"
    2534 switch ("$1")
    26   # switch options passed by build systems which we ignore
     35  # options passed by build systems which we ignore
    2736  case --enable-maintainer-mode
    2837  case --no-create
    2938  case --no-recursion
    30   case --enable-optimize
    3139  case --disable-shared
    3240  case --enable-shared
    3341  case --disable-static
    3442  case --enable-static
     43  # skipped by gpcsw, but not Ohana
     44  case --enable-optimize
    3545  case --enable-profile
    3646  case --pedantic
     
    4353  case --oldincludedir*
    4454  case --infodir*
     55  # skipped by gpcsw, but not Ohana
    4556  case --exec-prefix*
    4657  case --libdir*
     
    5566     endif
    5667   endif
     68   breaksw;
     69  case --enable-no-as-needed
     70   set no_as_needed = 1
     71   breaksw;
     72  case --enable-debug-build
     73   set debug_build = 1
    5774   breaksw;
    5875  case --prefix*
  • trunk/glueforge/templates/psdb/configure_ac.tt

    r23454 r34080  
    1313AM_CONFIG_HEADER([config.h])
    1414AM_MAINTAINER_MODE
     15
     16IPP_STDLDFLAGS
    1517
    1618AC_CONFIG_TESTDIR([tests])
     
    5456dnl is this the best was to setup recursive CFLAGS?
    5557IPP_STDOPTS
    56 dnl -Werror causes problems on OSX as inttypes.h uses some non standard C types
    57 [% pkg_name %]_CFLAGS="-Wall -pedantic -fno-strict-aliasing"
     58IPP_STDCFLAGS
     59
     60[% pkg_name %]_CFLAGS="-pedantic -fno-strict-aliasing"
    5861AC_SUBST([[% pkg_name %]_CFLAGS])
    5962
  • trunk/ippScripts

    • Property svn:ignore
      •  

        old new  
         1MYMETA.json
         2MYMETA.yml
        13Build
        24META.yml
  • trunk/ippScripts/scripts/addstar_run.pl

    r33989 r34080  
    261261           
    262262            my $realFile = $ipprc->file_resolve($fpaObjects) or  &my_die("Unable to resolve $fpaObjects", $add_id, $PS_EXIT_SYS_ERROR);
    263            
    264            
    265            
     263
     264            # most cameras use CHIP_HEADER.  other exceptions:
     265            # gpc1 @ camera : PHU_HEADER
     266            # gpc1 @ staticsky : NOMINAL (is uncalibrated)
     267
     268            # temporary hard-wired info
     269            my $zeroPointOption = "CHIP_HEADER";
     270            if (($camdir =~ /gpc1/) && ($stage =~ /staticsky/)) {
     271                $zeroPointOption = "NOMINAL";
     272            }           
     273            if (($camdir =~ /gpc1/) && ($stage =~ /cam/)) {
     274                $zeroPointOption = "PHU_HEADER";
     275            }           
    266276
    267277            # require a defined output dvo database to run addstar (ie, refuse to use the .ptolemyrc default)
     
    269279            $command .= " -D CAMERA $camdir";
    270280            $command .= " -D CATDIR $minidvodb_path";
     281            $command .= " -D ZERO_POINT_OPTION $zeroPointOption";
    271282            $command .= " $realFile";
    272283            $command .= " -use-name $fpaObjects"; # DVO wants the neb-name as a file reference
     
    275286                $command .= " -accept-astrom ";
    276287            }  #careful here - this matches staticsky and staticsky_multi
     288
    277289            my $mjd_addstar_start = DateTime->now->mjd;   # MJD of starting script
    278290
  • trunk/ippScripts/scripts/destreak_restore_camera.pl

  • trunk/ippScripts/scripts/ipp_apply_burntool_single.pl

  • trunk/ippScripts/scripts/magic_destreak.pl

  • trunk/ippToPsps/configure.ac

    r27345 r34080  
    99AM_MAINTAINER_MODE
    1010
    11 IPP_STDCFLAGS
     11IPP_STDLDFLAGS
    1212
    1313AC_LANG(C)
     
    3131dnl Set CFLAGS for build
    3232IPP_STDOPTS
    33 CFLAGS="${CFLAGS=} -Wall -Werror"
     33IPP_STDCFLAGS
     34dnl CFLAGS="${CFLAGS=} -Wall -Werror"
    3435echo "IPPTOPSPS_CFLAGS: $IPPTOPSPS_CFLAGS"
    3536echo "IPPTOPSPS_LIBS: $IPPTOPSPS_LIBS"
Note: See TracChangeset for help on using the changeset viewer.