r18738 - gnucash/trunk/src - More minor MSVC code fixes.
Christian Stimming
cstim at code.gnucash.org
Thu Feb 25 12:42:44 EST 2010
Author: cstim
Date: 2010-02-25 12:42:43 -0500 (Thu, 25 Feb 2010)
New Revision: 18738
Trac: http://svn.gnucash.org/trac/changeset/18738
Modified:
gnucash/trunk/src/core-utils/gnc-gkeyfile-utils.c
gnucash/trunk/src/engine/Query.c
gnucash/trunk/src/engine/Split.c
gnucash/trunk/src/engine/Transaction.c
gnucash/trunk/src/engine/gnc-filepath-utils.c
gnucash/trunk/src/gnc-module/gnc-module.c
Log:
More minor MSVC code fixes.
However, this code doesn't compile with MSVC9.0 for a few reasons:
1. libguile.h comes with its own scmconfig.h which contains HAVE_STDINT_H
whereas MSVC doesn't have that. This is stupid guile which doesn't accept
the fact that the user uses a different compiler than how they compiled guile.
2. Some initializations are not supported: Account.c:3312 etc.
3. The C99 "designated initializers" of e.g. Account.c:4661 ff. (r17724,
bug#539957) are not supported by MSVC9.0 - this is the hardest problem
of these all.
More information about the gnucash-patches
mailing list