r20593 - gnucash/trunk/src - Win32: Undefine G_MODULE_EXPORT in our internal libraries. Please do not use it.

Christian Stimming cstim at code.gnucash.org
Sat Apr 23 14:58:44 EDT 2011


Author: cstim
Date: 2011-04-23 14:58:43 -0400 (Sat, 23 Apr 2011)
New Revision: 20593
Trac: http://svn.gnucash.org/trac/changeset/20593

Modified:
   gnucash/trunk/src/gnome-utils/dialog-account.c
   gnucash/trunk/src/gnome/assistant-hierarchy.c
Log:
Win32: Undefine G_MODULE_EXPORT in our internal libraries. Please do not use it.

The rest of gnucash relies on *everything* being exported.  This is done by
mingw's linker, but only if no symbol at all was marked as being exported.
As soon as at least one symbol is manually marked as export, nothing except
those marked symbols are exported, which will immediately lead to
"unresolved symbols" in the win32 build.



More information about the gnucash-patches mailing list