Changeset 334


Ignore:
Timestamp:
Jun 2, 2005, 3:36:01 PM (16 years ago)
Author:
Jari Häkkinen
Message:

Fixed compiler issues when using option -pedantic.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r325 r334  
    4545LOCAL_INCLUDES="-I/home/max/jari/local/include"
    4646LDFLAGS="-L/home/max/jari/local/lib"
    47 CXXFLAGS="-g -O -Wall"
     47CXXFLAGS="-g -O -Wall -pedantic"
    4848CPPFLAGS="-DHAVE_INLINE=1"
    4949# Use these flags when compiling a production library
    50 #CXXFLAGS="-O3 -Wall"
     50#CXXFLAGS="-O3 -Wall -pedantic"
    5151#CPPFLAGS="-DNDEBUG -DGSL_RANGE_CHECK_OFF -DHAVE_INLINE=1"
    5252AC_SUBST([LOCAL_INCLUDES])
  • trunk/lib/Makefile.am

    r297 r334  
    77INCLUDES = @local_includes@
    88
    9 SUBDIRS = gslapi utility statistics svm
     9SUBDIRS = gslapi statistics svm utility
     10
    1011lib_LTLIBRARIES = libc++_tools.la
     12
    1113libc___tools_la_SOURCES =
     14
    1215libc___tools_la_LIBADD = \
    1316  gslapi/libgslapi.la \
    1417  statistics/libstatistics.la \
    15   utility/libutility.la \
    16   svm/libsvm.la
    17 
     18  svm/libsvm.la \
     19  utility/libutility.la
  • trunk/lib/gslapi/vector.h

    r326 r334  
    246246    ///
    247247    // Jari, doxygen group as "Extends GSL".
    248     double vector::sum(void) const;
     248    double sum(void) const;
    249249
    250250    ///
  • trunk/lib/statistics/ROC.h

    r295 r334  
    7474    /// corresponding data
    7575    ///
    76     gslapi::vector ROC::target(void) const;
     76    gslapi::vector target(void) const;
    7777
    7878    ///
     
    8080    /// approximation is used for the p-value calculation.
    8181    ///
    82     inline void minimum_size(const u_int minimum_size)
    83     {minimum_size_ = minimum_size; } 
     82    inline void minimum_size(const u_int minimum_size)
     83      { minimum_size_ = minimum_size; } 
    8484
    8585  private:
     
    9292   
    9393    /// Implemented as in MatLab 13.1
    94     double ROC::get_p_approx(const double) const;
     94    double get_p_approx(const double) const;
    9595
    9696    /// Implemented as in MatLab 13.1
    97     double ROC::get_p_exact(const double, const double,
    98                             const double) const;
     97    double get_p_exact(const double, const double, const double) const;
    9998
    10099    /// sorting value_, should always be done when changing train_set_
    101     void ROC::sort();
     100    void sort(void);
    102101       
    103102  };
  • trunk/lib/utility/Merge.h

    r303 r334  
    6969
    7070    void calculate_weights(gslapi::matrix&);
    71     void Merge::merging(vector<u_int>, gslapi::matrix&);
     71    void merging(vector<u_int>, gslapi::matrix&);
    7272  };
    7373
  • trunk/lib/utility/PCA.h

    r303 r334  
    8888       where \f$N\f$ is the dimension
    8989    */
    90     double PCA::get_explained_intensity( const size_t& k );
     90    double get_explained_intensity( const size_t& k );
    9191
    9292
Note: See TracChangeset for help on using the changeset viewer.