[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: |
Kevin Atkinson |
Subject: |
Re: [aspell-devel] IRIX compile problem aspell-0.60.2 |
Date: |
Fri, 18 Mar 2005 11:28:40 -0700 (MST) |
On Thu, 17 Mar 2005, Jose Da Silva wrote:
> 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.
NO. That has to be operator. It is a keyword in C++ and changing it to
operator_ completely changes the meaning and will definitely not compile. It
may be having a problem with the "const char", try changing that to just
"char". Sorry for the delayed response.
--
http://kevin.atkinson.dhs.org