IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 23, 2004, 2:05:54 PM (22 years ago)
Author:
gusciora
Message:

Added -Wall to Makefile.globals, and fixed resultant compile errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psFunctions.c

    r2406 r2411  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.66 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2004-11-23 19:35:30 $
     9 *  @version $Revision: 1.67 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2004-11-24 00:05:54 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    825825 *****************************************************************************/
    826826#define FUNC_MACRO_FULL_INTERPOLATE_1D(TYPE) \
    827 static float fullInterpolate1D##TYPE(float *domain, \
    828                                      float *range, \
     827static float fullInterpolate1D##TYPE(ps##TYPE *domain, \
     828                                     ps##TYPE *range, \
    829829                                     psS32 n, \
    830                                      float x) \
     830                                     ps##TYPE x) \
    831831{ \
    832832    \
     
    875875} \
    876876
     877/*
    877878FUNC_MACRO_FULL_INTERPOLATE_1D(U8)
    878879FUNC_MACRO_FULL_INTERPOLATE_1D(U16)
     
    883884FUNC_MACRO_FULL_INTERPOLATE_1D(S32)
    884885FUNC_MACRO_FULL_INTERPOLATE_1D(S64)
     886FUNC_MACRO_FULL_INTERPOLATE_1D(F64)
     887*/
    885888FUNC_MACRO_FULL_INTERPOLATE_1D(F32)
    886 FUNC_MACRO_FULL_INTERPOLATE_1D(F64)
     889
    887890
    888891/*****************************************************************************
     
    19561959{
    19571960    PS_PTR_CHECK_TYPE_EQUAL(x, bins, -3);
     1961    char* strType;
    19581962
    19591963    switch (x->type.type) {
     
    19781982    case PS_TYPE_F64:
    19791983        return(vectorBinDisectF64(bins->data.F64, bins->n, x->data.F64));
    1980     }
    1981 
    1982     char* strType;
    1983     PS_TYPE_NAME(strType,x->type.type);
    1984     psError(PS_ERR_BAD_PARAMETER_TYPE,
    1985             PS_ERRORTEXT_psFunctions_TYPE_NOT_SUPPORTED,
    1986             strType);
     1984    case PS_TYPE_C32:
     1985        PS_TYPE_NAME(strType,x->type.type);
     1986        psError(PS_ERR_BAD_PARAMETER_TYPE,
     1987                PS_ERRORTEXT_psFunctions_TYPE_NOT_SUPPORTED,
     1988                strType);
     1989    case PS_TYPE_C64:
     1990        PS_TYPE_NAME(strType,x->type.type);
     1991        psError(PS_ERR_BAD_PARAMETER_TYPE,
     1992                PS_ERRORTEXT_psFunctions_TYPE_NOT_SUPPORTED,
     1993                strType);
     1994    case PS_TYPE_PTR:
     1995        PS_TYPE_NAME(strType,x->type.type);
     1996        psError(PS_ERR_BAD_PARAMETER_TYPE,
     1997                PS_ERRORTEXT_psFunctions_TYPE_NOT_SUPPORTED,
     1998                strType);
     1999    }
    19872000    return(-3);
    19882001}
Note: See TracChangeset for help on using the changeset viewer.