[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [aspell-devel] IRIX compile problem aspell-0.60.2

From: Jose Da Silva
Subject: Re: [aspell-devel] IRIX compile problem aspell-0.60.2
Date: Thu, 17 Mar 2005 12:04:20 -0800
User-agent: KMail/1.6.1

On Thursday 17 March 2005 05:16 am, Frank Everdij wrote:
> Hello all,
> First post here, so please bear with me. :)
> I'm attempting to compile aspell-0.60.2 on IRIX with native
> compilers: IRIX 6.5.27m R12KO2 MIPSPro 7.4.2 Development env + latest
> patches CFLAGS = CXXFLAGS = -g
> I have no previous experience with aspell compiles on IRIX, so here
> it goes:
> mech044 /usr/local/src/aspell-0.60.2> gmake
> Making all in .
> gmake[1]: Entering directory `/usr/local/src/aspell-0.60.2'
> source='modules/filter/email.cpp' object='modules/filter/email.lo'
> libtool=yes \ DEPDIR=.deps depmode=sgi /bin/sh ./depcomp \
> /bin/sh ./libtool --tag=CXX --mode=compile CC -DHAVE_CONFIG_H -I. -I.
> -I./gen -I./gen -I./common -I./interfaces/cc/
> -I./modules/speller/default/ -DLOCALEDIR=\"/usr/local/share/locale\" 
>  -g -c -o modules/filter/email.lo modules/filter/email.cpp
>  CC -DHAVE_CONFIG_H -I. -I. -I./gen -I./gen -I./common
> -I./interfaces/cc/ -I./modules/speller/default/
> "-DLOCALEDIR=\"/usr/local/share/locale\"" -g -c
> modules/filter/email.cpp
> -Wp,-MDupdate,modules/filter/.deps/email.TPlo  -DPIC -o
> modules/filter/.libs/email.o
> cc-3303 CC: WARNING File = ./common/string.hpp, Line = 132
>   A type qualifier on a return type is meaningless.
>       const char operator[] (size_t pos) const {return begin_[pos];}
>                  ^

My C++ is rather sad to non-existant, but to me that would appear that 
"operator" already exists under IRIX.
Suppose you were to change lines 131 & 132 so that operator[] became 
operator_[] and then attempt a recompile.

If it appears to succeed past that point, then it may be that operator 
needs to be redefined as operator_ for Aspell to compile under IRIX.

operator appears in a lot of files:
grep -r -l 'operator' aspell-0.60.2

if operator_ meets with success, then it may be that the  other 3 
variables need to be redefined as well so that:
back becomes back_,
have becomes have_,
add becomes add_,

grep -r -l 'back' aspell-0.60.2
grep -r -l 'have' aspell-0.60.2
grep -r -l 'add' aspell-0.60.2

I hope that helps.
If these have success, can you file a bug report and fix at sourceforge 
so that it can be entered into aspell?

I am unsure about the errors at this point, hopefully someone else has 
an answer.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]