aspell-user
[Top][All Lists]
Advanced

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

Re: [aspell-user] Compile problems using gcc-3.0


From: Edwin Chiu
Subject: Re: [aspell-user] Compile problems using gcc-3.0
Date: Fri, 22 Jun 2001 22:11:14 -0400
User-agent: Internet Messaging Program (IMP) 2.3.7-cvs

Fixed by doing this:

Original: (readonly_ws.cc:828)
      data_head.word_block_size = round_up(OUT.tellp() - start + 1,
                                           page_size);

Working: (readonly_ws.cc:828)
      data_head.word_block_size = round_up(OUT.tellp() - (long int) start + 1,
                                           page_size);

Regards,
Edwin

Quoting Edwin Chiu <address@hidden>:

> Hi,
> 
> I'm using Redhat-6.2, so egcs-1.1 won't work, so I put in gcc-3.0 and I'm
> still 
> having trouble.
> 
> Had trouble with data.cc:140 so I removed the #ifdef USE_FILE_INO section
> since it seemed BSD-specific??
> 
> Now, I'm having trouble here:
> 
> /software/gcc-3.0/bin/g++ -DHAVE_CONFIG_H -I/software/pspell/include -I. -I.
> -
> I.. -I./inc -I../ -I../util -I../filter -I/software/aspell-0.33.6.3/include
> -g -
> O2 -c readonly_ws.cc  -fPIC -DPIC -o .libs/readonly_ws.o
> readonly_ws.cc: In function `void aspell_default_readonly_ws::create(const 
>    std::string&, autil::VirEmulation<char*>*, const aspell::Language&)':
> readonly_ws.cc:828: choosing `std::fpos<_StateT> 
>    std::fpos<_StateT>::operator+(long int) [with _StateT = mbstate_t]' over
> 
>    `operator+'
> readonly_ws.cc:828:   because worst conversion for the former is better than
> 
>    worst conversion for the latter



reply via email to

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