From maintainers-request at octave dot org Fri Dec 3 05:01:43 2004 Subject: Re: 2.1.64 snapshot soon? From: Per Persson To: "John W. Eaton" Cc: maintainers at octave dot org Date: Fri, 3 Dec 2004 12:02:05 +0100 On Dec 3, 2004, at 06:11, John W. Eaton wrote: > I'm preparing to make a 2.1.64 snapshot that will be declared > "testing" or "recommended". There haven't been too many bugs > reported, but at least one was fairly serious (the "end" indexing > problem for some data types). I think most problems reported since > the 2.1.63 snapshot was made have been fixed. Is anyone aware of a > problem that still needs to be addressed? I'm running $ sw_vers ProductName: Mac OS X ProductVersion: 10.3.6 BuildVersion: 7R28 $ uname -v Darwin Kernel Version 7.6.0: Sun Oct 10 12:05:27 PDT 2004; root:xnu/xnu-517.9.4.obj~1/RELEASE_PPC $ autoconf --version autoconf (GNU Autoconf) 2.59 $ gcc --version gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1671) $ gperf --version GNU gperf 2.7.2 $ flex --version flex 2.5.31 Configured with --enable-shared --disable-static --enable-dl --with-f77=xlf I get the following error: g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -Wall -W -Wshadow -g -O2 lex.cc -o lex.o In file included from lex.l:76: oct-gperf.h:62: warning: ISO C++ forbids declaration of `in_word_set' with no type oct-gperf.h:100: warning: ISO C++ forbids declaration of `wordlist' with no type oct-gperf.h:139: error: brace-enclosed initializer used to initialize `const int' [snipping many similar] oct-gperf.h:139: error: brace-enclosed initializer used to initialize `const int' oct-gperf.h:155: warning: ISO C++ forbids declaration of `in_word_set' with no type oct-gperf.h: In static member function `static const int* octave_kw_hash::in_word_set(const char*, unsigned int)': oct-gperf.h:166: error: request for member `name' in `wordlist[index]', which is of non-class type `const int' oct-gperf.h:174: warning: ISO C++ forbids declaration of `wordptr' with no type oct-gperf.h:175: warning: ISO C++ forbids declaration of `wordendptr' with no type oct-gperf.h:179: error: request for member `name' in `*wordptr', which is of non-class type `const int' lex.l: In function `int is_keyword_token(const std::string&)': lex.l:1217: error: cannot convert `const int*' to `const octave_kw*' in initialization lex.l: In function `octave_value_list Fiskeyword(const octave_value_list&, int) ': lex.l:2716: error: request for member `name' in `wordlist[i]', which is of non-class type `const int' make[2]: *** [lex.o] Error 1 make[1]: *** [src] Error 2 make: *** [all] Error 2 I had some warnings when running autogen.sh, but I think they are benign: $ ./autogen.sh calling autoconf and autoheader... /Users/per/Source/octave configure.in:504: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] autoconf/lang.m4:224: AC_LANG_SOURCE is expanded from... autoconf/lang.m4:234: AC_LANG_PROGRAM is expanded from... autoconf/general.m4:2215: AC_LINK_IFELSE is expanded from... autoconf/general.m4:2223: AC_TRY_LINK is expanded from... autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... aclocal.m4:414: OCTAVE_F77_FLAG is expanded from... configure.in:504: the top level configure.in:510: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] configure.in:510: the top level configure.in:512: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] configure.in:512: the top level configure.in:513: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] configure.in:513: the top level configure.in:504: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] autoconf/lang.m4:224: AC_LANG_SOURCE is expanded from... autoconf/lang.m4:234: AC_LANG_PROGRAM is expanded from... autoconf/general.m4:2215: AC_LINK_IFELSE is expanded from... autoconf/general.m4:2223: AC_TRY_LINK is expanded from... autoconf/general.m4:1799: AC_CACHE_VAL is expanded from... aclocal.m4:414: OCTAVE_F77_FLAG is expanded from... configure.in:504: the top level configure.in:510: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] configure.in:510: the top level configure.in:512: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] configure.in:512: the top level configure.in:513: warning: AC_LANG_PROGRAM(Fortran 77): ignoring PROLOGUE: [] configure.in:513: the top level /Users/per/Source/octave/glob /Users/per/Source/octave/scripts skipping autoheader in ./scripts done I haven't been following development closely for a while so maybe it is just a matter of bad piloting. I'm investigating right now, thought I'd just drop you a note. /Per