Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#111 Error in declaration of mdb_backends (0.6pre1)

closed-fixed
nobody
libmdb (15)
5
2007-03-09
2007-03-07
Anonymous
No

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.

Discussion

    • status: open --> closed-fixed
     
  • Seeing as this issue seems to be 3 to 5 years old shouldn't a new release be ...released?