Bug in 0.7 ?

Martin Preuss <[email protected]> Wed, 20 Apr 2005 01:46:08 +0200
Newsgroups gmane.comp.finance.libofx.devel
Message-ID <[email protected]>
Hi,

I just went into a serious problem: When including libofx.h from multiple 
source files of a single project some const variables (namely 
LibofxImportFormatList and LibofxExportFormatList) are declared multiple 
times.

Therefore we really *should* move these definitions out of that header file 
(they shouldn't be there anyway)...

However, I couldn't figure out how to do that without having gcc complain when 
building libofx. Could someone please have a look at it ?

Currently I'm just helping myself by inserting a 
#ifndef OFX_AQUAMANIAC_UGLY_HACK1
but this problem should really be fixed before the next release...


regards
Martin


-- 
"Things are only impossible until they're not"

LibChipcard - http://www.libchipcard.de/
AqBanking - http://www.aquamaniac.de/aqbanking/
OpenHBCI - http://www.openhbci.de/


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728