under MSVC -- this is needed when using the pre-compiled DLL with projects
built using a different calling convention.
XMLPARSEAPI now takes the return type as a parameter and inserts annotations
on both sides of the type to make sure the compiler is happy. A new
macro, XMLCALLBACK, is used to perform similar annotation of the callback
function types, which do not need the dllimport/dllexport annotations but
do still need the __cdecl annotation.
This closes SF bug #413653.
will just have to wonder how I got anything at all working on Windows).
Since we do not want to place the XMLPARSEAPI marker in the middle of a
type name, always tack it onto the beginning -- anywhere else seems fragile
at best.
were out of date, and we've previously seen expat.h out of sync).
*) Use new script "buildconf.sh" to create the set of generated files
(aclocal.m4, config.h.in, configure). This is intended to be used by
developers (rerun when configure.in changes) and just before a release
(releases include these outputs).
Developers now need the "autoconf" and "libtool" packages.
*) config.h.in is now built by autoheader and includes bits from acconfig.h
rather than manual construction/maintenance. (renamed from config.hin)
*) added conftools/PrintPath from the ASF; it is a portable "which"
*) added "extraclean" target to top-level Makefile to get rid of all
generated files (return to pure CVS state; before buildconf.sh)
*) updates various bits for config.hin -> config.h.in rename
*) no longer need to delete the ".deps" subdir since we don't create it
anymore (dependencies are explicit rather than auto-generated).
Remove gcc-specific cruft from the Makefile -- this hurts portability!
This closes SF tracker patch #403584, and probably more platform-specific
build process bugs than I care to think about.
structure that can be examined at runtime.
XML_ExpatVersion(): Construct the return value from the new version
information constants.
XML_MAJOR_VERSION, XML_MINOR_VERSION,
XML_MICRO_VERSION: New constants; these specify the version of the
library in a form that can be queried by client applications
at compile time. This is useful in determining if functions
should be considered available (like those above).