[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    [Aspell-user] Re: Can't compile with gcc 3.3
From:       Kevin Atkinson <kevina () gnu ! org>
Date:       2003-06-16 14:06:30
Message-ID: Pine.LNX.4.44.0306161004140.1776-100000 () kevin-pc ! atkinson ! dhs ! org
[Download RAW message or body]

On Mon, 16 Jun 2003, Clock wrote:

First off, this should of been posted to aspell user, not aspell-devel.  I 
have CC aspell-user.

> Tried to compile aspell-0.50:
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I../common -I../common/ -I../interfaces/cc/ -I../mo
> dules/speller/default/     -O3 -march=athlon-xp -fomit-frame-pointer -fstrength-
> reduce -fschedule-insns -c -o checker_string.o `test -f 'checker_string.cpp' || 
> echo './'`checker_string.cpp
> checker_string.cpp: In member function `void 
>    CheckerString::replace(acommon::ParmString)':
> checker_string.cpp:102: error: `assert' undeclared (first use this function)
> checker_string.cpp:102: error: (Each undeclared identifier is reported only 
>    once for each function it appears in.)
> make[1]: *** [checker_string.o] Error 1
> make[1]: Leaving directory `/home/clock/aspell-0.50/prog'
> make: *** [all-recursive] Error 1

To fix this simply include '#incluse <assert.h>' with the other includes 
near the top of this file.

This will be fixed in the next of aspell.


--- 
http://kevin.atkinson.dhs.org




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic