Fixing gcc 3.3 compile failures -- fix for math/freefem

Sergey A. Osokin osa at FreeBSD.org
Mon Jul 21 06:44:56 PDT 2003


On Mon, Jul 21, 2003 at 01:45:38PM +0200, Simon Barner wrote:
> > Can't compile freefem-3.5.7 with gcc-2.95.4 under RELENG_4,
> > any idea?
> > 
> > c++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -O -pipe -fforce-mem -fforce-addr -fomit-frame-pointer -I/usr/X11R6/include -c femParser.cpp -Wp,-MD,.deps/femParser.TPlo -o femParser.o >/dev/null 2>&1
> > *** Error code 1
> > Stop in /usr/home/osa/src/freefem/work/freefem-3.5.7/freefem/fem.
> > *** Error code 1
> 
> Oh no, this port turns out to be a never ending story...
> 
> There was an internal compiler error in gcc-2.95.4 with femParser.cpp.
> Since that version of gcc is no longer maintained, I think a workaround
> for this problem is enough. Fortunately, I was able to fix the problem
> by introducing a temporary variable (patch attached).

[patch skipped]

Committed, thanks!

-- 

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
                             / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030721/a48e4fdd/attachment.bin


More information about the freebsd-ports mailing list