From bug-request at octave dot org Fri Aug 6 08:43:39 2004 Subject: Re: Compile problem with g++ 3.4.1 with CVS From: David Bateman To: "John W. Eaton" Cc: David Bateman , bug@octave.org Date: Fri, 6 Aug 2004 15:39:52 +0200 Daprès John W. Eaton (le 06/08/2004): > On 6-Aug-2004, David Bateman wrote: > > | Ok, against the current CVS a built with 3.4.1 now crashes here.... It > | doesn't when built with 3.3.1.. > | > | D. > | > | g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 lex.cc -o pic/lex.o > | lex.l: In function `int is_keyword_token(const std::string&)': > | lex.l:1216: error: expected primary-expression before "const" > | lex.l:1216: error: expected `;' before "const" > | lex.l:1218: error: `kw' undeclared (first use this function) > | lex.l:1218: error: (Each undeclared identifier is reported only once for each function it appears in.) > | lex.l:1224: error: `all_va_args_kw' undeclared (first use this function) > > It works for me. Do you have a valid octave.gperf file? My guess is > it is empty or corrupted in some way. The octave.gperf I have hasn't changed since Nov 12 2002.... It was the same for both teh 3.3.1 and 3.4.1 builds... D. -- David Bateman David dot Bateman at motorola dot com Motorola CRM +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------