ports/70207: finance/libofx fails to build with GCC 3.4.2

Frank Altpeter frank at altpeter.de
Mon Aug 9 12:20:20 UTC 2004


>Number:         70207
>Category:       ports
>Synopsis:       finance/libofx fails to build with GCC 3.4.2
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 09 12:20:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Frank Altpeter
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD pegasus 5.2-CURRENT FreeBSD 5.2-CURRENT #10: Fri Aug 6 15:40:33 CEST 2004 root at pegasus:/usr/obj/usr/src/sys/kernconf.pegasus i386


	
>Description:
	The port finance/libofx fails to build on newly updated 5.2-CURRENT system which is now powered
	with GCC version 3.4.2.

-------------------------------- cut here ---------------------------------------
	if c++ -DHAVE_CONFIG_H -I. -I. -I..   -I../inc -I/usr/local/include  -O -pipe -MT ofxdump.o -MD -MP -MF ".deps/ofxdump.Tpo"  -c -o ofxdump.o `test -f 'ofxdump.cpp' || echo './'`ofxdump.cpp;  then mv ".deps/ofxdump.Tpo" ".deps/ofxdump.Po";  else rm -f ".deps/ofxdump.Tpo"; exit 1;  fi ofxdump.cpp: In function `int ofx_proc_transaction_cb(OfxTransactionData)':
	ofxdump.cpp:207: error: `data' cannot appear in a constant-expression
	ofxdump.cpp:207: error: `.' cannot appear in a constant-expression
	[...]
-------------------------------- cut here ---------------------------------------

	Unfortunately, there are many finance ports depending on that one, and they all are unable to run
	with the "old" (compiled with GCC 3.3) versions of libofx.

>How-To-Repeat:
	cd /usr/ports/finance/libofx && make
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list