Re: gcc-3.3 issues

From: Jeremy Messenger <mezz7_at_cox.net>
Date: Thu, 17 Jul 2003 15:26:53 -0500
On 17 Jul 2003 22:07:37 +0200, Peter Kadau <peter.kadau_at_tuebingen.mpg.de> 
wrote:

> Hi !
>
>> > s/gcc-3.3/ports/ issues and we are in agreement.
> alright, `port compile issues raised with the adoption of gcc-3.3'
>> > Patches to fix broken ports are welcome.
> Looking at AbiWord2 I suspect this has to be pushed
> upstream in some cases.
> OK, here is a - ahem - patch for aspell:
> --- prog/checker_string.hpp.orig        Tue Sep 24 03:34:52 2002
> +++ prog/checker_string.hpp     Thu Jul 17 20:02:58 2003
> _at__at_ -5,6 +5,7 _at__at_
> // it at http://www.gnu.org/.
> #include <stdio.h>
> +#include <g++/cassert>
> #include "aspell.h"
>
> It works on my colleague's and my current and my stable.
> But maybe it's not the right way (tm) (to 'do-it) :-)
> But should I post that on -ports, -current or send it to the
> ports maintainer ? I'd rather avoid tracking -ports...
<snip>

But, this patch doesn't work/fix to me on yesterday -CURRENT. Here's what I 
get error following:

=============================
In file included from check_funs.hpp:10,
                 from aspell.cpp:25:
checker_string.hpp:8:23: g++/cassert: No such file or directory
gmake[1]: *** [aspell.o] Error 1
gmake[1]: Leaving directory `/usr/ports/textproc/aspell/work/aspell- 
0.50.3/prog'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/textproc/aspell.
=============================

Without this patch, I get error following:

=============================
checker_string.cpp: In member function `void 
CheckerString::replace(acommon::ParmString)':
checker_string.cpp:113: error: `assert' undeclared (first use this 
function)
checker_string.cpp:113: error: (Each undeclared identifier is reported only 
once for each function it appears in.)
gmake[1]: *** [checker_string.o] Error 1
gmake[1]: Leaving directory `/usr/ports/textproc/aspell/work/aspell- 
0.50.3/prog'
gmake: *** [all-recursive] Error 1
*** Error code 2
 Stop in /usr/ports/textproc/aspell.
*** Error code 1
=============================

I am willing to test the patches if one of you have any.

Cheers,
Mezz


-- 
bsdforums.org 's moderator, mezz.
Received on Thu Jul 17 2003 - 11:26:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:15 UTC