Mercurial > hg > octave-nkf
changeset 4971:3486c62f2d62
[project @ 2004-09-08 16:46:36 by jwe]
author | jwe |
---|---|
date | Wed, 08 Sep 2004 16:46:36 +0000 |
parents | 25c2664861bc |
children | 724675f7f7cb |
files | ChangeLog configure.in libcruft/ChangeLog libcruft/misc/machar.c |
diffstat | 4 files changed, 19 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-09-08 John W. Eaton <jwe@octave.org> + + * configure.in (GXX_PICKY_FLAGS): Remove -fno-nonnull-objects. + (GCC_PICKY_FLAGS): Remove -Wnested-externs -Wid-clash-31. + From Quentin Spencer <qspencer@ieee.org>. + + * configure.in (GCC_PICKY_FLAGS): Remove -Winline. + 2004-09-07 John W. Eaton <jwe@octave.org> * configure.in: Check for round.
--- a/configure.in +++ b/configure.in @@ -29,7 +29,7 @@ EXTERN_CXXFLAGS="$CXXFLAGS" AC_INIT -AC_REVISION($Revision: 1.455 $) +AC_REVISION($Revision: 1.456 $) AC_PREREQ(2.57) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -1302,11 +1302,10 @@ ### Someday, maybe include -ansi and even -pedantic in this list... -GCC_PICKY_FLAGS="-Wcast-align -Wcast-qual -Wid-clash-31 \ - -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ - -Wstrict-prototypes -Wwrite-strings" +GCC_PICKY_FLAGS="-Wcast-align -Wcast-qual -Wmissing-prototypes \ + -Wpointer-arith -Wstrict-prototypes -Wwrite-strings" -GXX_PICKY_FLAGS="$GCC_PICKY_FLAGS -Weffc++ -Wenum-clash -fno-nonnull-objects" +GXX_PICKY_FLAGS="$GCC_PICKY_FLAGS -Weffc++ -Wenum-clash" AC_ARG_ENABLE(picky-flags, [ --enable-picky-flags add picky options to CFLAGS, CXXFLAGS, FFLAGS],
--- a/libcruft/ChangeLog +++ b/libcruft/ChangeLog @@ -1,3 +1,7 @@ +2004-09-08 John W. Eaton <jwe@octave.org> + + * misc/machar.c (rmachar): Use modern C declaration. + 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> * misc/f77-fcn.c: Handle Cray, CVF, and f2c calling conventions.
--- a/libcruft/misc/machar.c +++ b/libcruft/misc/machar.c @@ -36,11 +36,9 @@ #define ABS(xxx) ((xxx>ZERO)?(xxx):(-xxx)) void -rmachar(ibeta,it,irnd,ngrd,machep,negep,iexp,minexp, - maxexp,eps,epsneg,xmin,xmax) - - int *ibeta,*iexp,*irnd,*it,*machep,*maxexp,*minexp,*negep,*ngrd; - REAL *eps,*epsneg,*xmax,*xmin; +rmachar(int *ibeta, int *it, int *irnd, int *ngrd, int *machep, + int *negep, int *iexp, int *minexp, int *maxexp, REAL *eps, + REAL *epsneg, REAL *xmin, REAL *xmax) /*