[ mdbtools-Bugs-1675603 ] Error in declaration of mdb_backends (0.6pre1)

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.db.mdb-tools.devel
Message-ID <[email protected]>
Bugs item #1675603, was opened at 2007-03-07 02:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102294&aid=1675603&group_id=2294

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libmdb
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error in declaration of mdb_backends (0.6pre1)

Initial Comment:
When compiling the source package downloaded from the project page:

backend.c:31: error: static declaration of 'mdb_backends' follows non-static declaration
../../include/mdbtools.h:150: error: previous declaration of 'mdb_backends' was here

mdb_backends has different declarations.
In file include/mdbtools.h:
extern GHashTable    *mdb_backends;
In file src/libmdb/backend.c:
static GHashTable *mdb_backends;

The source compiles, and program works, when both are declared static.

My system is a MacOSX 10.4.8, with all the needed libs installed.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102294&aid=1675603&group_id=2294

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.