https://bugzilla.novell.com/show_bug.cgi?id=714637
https://bugzilla.novell.com/show_bug.cgi?id=714637#c4
--- Comment #4 from Stephan Bury 2011-09-05 13:00:57 UTC ---
Will the following macro from goffice.h be interpreted correctly in goffice and
gnumeric build? (Is compiler flag WIN32 set automatically for mingw? I'm not a
C expert. Just a guess, where the error might occur.)
#ifndef GO_VAR_DECL
# ifdef WIN32
# ifdef GOFFICE_COMPILATION
# define GO_VAR_DECL __declspec(dllexport)
# else
# define GO_VAR_DECL extern __declspec(dllimport)
# endif
# else
# define GO_VAR_DECL extern
# endif
#endif /* GO_VAR_DECL */
This is referenced in "go-format.h"
/* Indexed by GOFormatFamily */
GO_VAR_DECL char const * const * const _go_format_builtins [];
GO_VAR_DECL GOFormatCurrency const _go_format_currencies [];
and used in "go-format.c"
#ifdef DEFINE_COMMON
GOFormat *
go_format_general (void)
{
if (!default_general_fmt)
default_general_fmt = go_format_new_from_XL (
_go_format_builtins[GO_FORMAT_GENERAL][0]);
return default_general_fmt;
}
#endif
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.