Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
64-bit linux w/gcc 4.4.3 w/xerces 3
-
build, c++
Description
I don't know if this code is current supported, but since it is in the tree here are some fixes:
1. support for xerces 3.X as well as 2.X
the patch checks XERCES_VERSION_MAJOR and I have tested on 3.X but before
committing, someone should retest on 2.X
2. gcc 4.4.3 on 64-bit complains about using %lld with int64_t. Casting
to 'long long int' solves the issue
3. since there is currently no ant target, check if LIBRECORDIO_BUILD_DIR
is undefined and if so assume '.' to support compiling in the source directory
This should not effect "normal" compilation if/when an ant target is created.
patch attached