Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6712

librecordio support for xerces 3, eliminate compiler warnings and the (optional) ability to compile in the source directory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: record
    • Labels:
      None
    • Environment:

      64-bit linux w/gcc 4.4.3 w/xerces 3

    • Tags:
      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jplevyak John Plevyak
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: