Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2004 18:00:30 -0700
From:      "Michael C. Shultz" <ringworm@inbox.lv>
To:        Kent Stewart <kstewart@owt.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: aspell-0.50.5_2 fails to build
Message-ID:  <200404171800.30877.ringworm@inbox.lv>
In-Reply-To: <200404171601.25298.kstewart@owt.com>
References:  <200404171551.37730.ringworm@inbox.lv> <200404171601.25298.kstewart@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 17 April 2004 04:01 pm, you wrote:
> On Saturday 17 April 2004 03:51 pm, Michael C. Shultz wrote:
> > Hi, right after I cvsup'ed and updated today aspell fails to build
> > with the following error:
> >
> > posib_err.hpp:164: candidates are:
> > acommon::PosibErr<acommon::String>::operator const acommon::String
> > &() const posib_err.hpp:206:
> > acommon::String::String(const acommon::PosibErr<acommon::String> &)
>
> What options do you have in /etc/make.conf? I built aspell on 4-10-beta
> and 5.2-current. Neither build produced anything but the usual warning
> messages.
>
> ruby# pkgrep aspell
> aspell-0.50.5_2     Spelling checker with better suggestion logic than
> ispell
>
> FreeBSD ruby 4.10-BETA FreeBSD 4.10-BETA #4: Sun Apr 11 12:47:03 PDT
> 2004     root@ruby:/usr/obj/usr/src/sys/RUBY  i386
>
> Kent

I did just add "CFLAGS+=${BDECFLAGS}" before updating because I was also
compiling my own stuff.  Removing it and aspell compiles just fine.  I'm 
curious why warning flags would stop aspell, but in the future I'll unset 
them when upgrading. Thanks for  your help  Kent!

-Mike

ps: The flags I had set were:

CXXFLAGS+= -fmemoize-lookups -fsave-memoized
#
# BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested
# for use in developing FreeBSD and testing changes.  They can be used by
# putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf.  -Wconversion is not
# included here due to compiler bugs, e.g., mkdir()'s mode_t argument.
#
BDECFLAGS=	-W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
		-Wcast-qual -Wchar-subscripts -Winline \
		-Wmissing-prototypes -Wnested-externs -Wpointer-arith \
		-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings

CFLAGS+=${BDECFLAGS}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404171800.30877.ringworm>