hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Plevyak (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-6712) librecordio support for xerces 3, eliminate compiler warnings and the (optional) ability to compile in the source directory
Date Sun, 18 Apr 2010 16:21:25 GMT
librecordio support for xerces 3, eliminate compiler warnings and the (optional) ability to
compile in the source directory
---------------------------------------------------------------------------------------------------------------------------

                 Key: HADOOP-6712
                 URL: https://issues.apache.org/jira/browse/HADOOP-6712
             Project: Hadoop Common
          Issue Type: Bug
          Components: record
         Environment: 64-bit linux w/gcc 4.4.3 w/xerces 3
            Reporter: John Plevyak
         Attachments: librecordio-jp-v1.patch

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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message