aspell-devel
[Top][All Lists]
Advanced

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

Re: [aspell-devel] aspell-0.50.5 on Tru64, config.cpp compile error + pa


From: Tim Mooney
Subject: Re: [aspell-devel] aspell-0.50.5 on Tru64, config.cpp compile error + patch
Date: Sat, 3 Apr 2004 22:15:32 -0600 (CST)

In regard to: Re: [aspell-devel] aspell-0.50.5 on Tru64, config.cpp compile...:

>On Wed, Mar 31, 2004 at 06:15:45PM -0600, Tim Mooney wrote:
>> There are also several warnings (most of them pretty harmless but
>> easy to fix, the remainder worth looking at), and I'll send along
>> patches for the ones I know how to fix when I have time (next week).
>
>How did you work around this:

I actually didn't.  I got all the libraries to link finally (after
realizing the link problem I mentioned was caused by the libtool issue
that's been mentioned on the libtool list, regarding using additional
args as part of CC or CXX, i.e.

        CXX='cxx -D__USE_STD_IOSTREAM'
        export CXX
        ./configure --blah --blah

).  Once I had the libraries and I ran into the exact issue you show, I
ran out of time and haven't been back to it.

>cxx -DHAVE_CONFIG_H -I. -I. -I../common -I../common/
>-I../interfaces/cc/ -I../modules/speller/default/
>-I/opt/TWWfsw/ncurses54/include
>-I/opt/TWWfsw/ncurses54/include/ncurses    -D__USE_STD_IOSTREAM -std
>gnu -O2 -msym -readonly_strings -c -o aspell.o aspell.cpp
>cxx: Error: ../common/errors.hpp, line 17: declaration is incompatible with
>          previous "aerror_other" (declared at line 234 of
>          "../interfaces/cc/aspell.h")
>extern "C" const ErrorInfo * const aerror_other;
>-----------------------------------^
>...
>
>AspellErrorInfo == ErrorInfo. I think this is sloppy though. Only one
>should be used.

As far as I can tell, they are exactly the same (except I think one of
them is in namespace acommon and the other one isn't), so I don't know why
the seeming duplication either.  I'm pretty poor in C++, though, so there
could be lots of good reasons I don't comprehend.

Tim
-- 
Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164




reply via email to

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