IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 8, 2007, 3:40:08 PM (19 years ago)
Author:
jhoblitt
Message:

gcc attribute cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psPolynomialMetadata.h

    r14415 r14452  
    88 * @author GLG, MHPCC
    99 *
    10  * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    11  * @date $Date: 2007-08-07 00:03:00 $
     10 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     11 * @date $Date: 2007-08-09 01:40:07 $
    1212 *
    1313 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5151    const char *format,                ///< Name of polynomial folder.
    5252    ...                                ///< Arguments for name formatting.
    53 )
    54 #ifdef __GNUC__
    55 __attribute__((format(printf,3,4)))
    56 #endif
    57 ;
     53) PS_ATTR_FORMAT(printf,3,4);
    5854
    5955/** Allocates a new psPolynomial2D structure with information from a psMetadata.
     
    8884    const char *format,                      ///< Name of polynomial folder.
    8985    ...                                ///< Arguments for name formatting.
    90 )
    91 #ifdef __GNUC__
    92 __attribute__((format(printf,3,4)))
    93 #endif
    94 ;
     86) PS_ATTR_FORMAT(printf,3,4);
    9587
    9688/** Allocates a new psPolynomial3D structure with information from a psMetadata.
     
    126118    const char *format,                      ///< Name of polynomial folder.
    127119    ...                                ///< Arguments for name formatting.
    128 )
    129 #ifdef __GNUC__
    130 __attribute__((format(printf,3,4)))
    131 #endif
    132 ;
     120) PS_ATTR_FORMAT(printf, 3, 4);
    133121
    134122/** Allocates a new psPolynomial4D structure with information from a psMetadata.
     
    164152    const char *format,                      ///< Name of polynomial folder.
    165153    ...                                ///< Arguments for name formatting.
    166 )
    167 #ifdef __GNUC__
    168 __attribute__((format(printf,3,4)))
    169 #endif
    170 ;
     154) PS_ATTR_FORMAT(printf, 3, 4);
    171155
    172156/// @}
Note: See TracChangeset for help on using the changeset viewer.