Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 23278 invoked from network); 18 Apr 2010 16:21:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Apr 2010 16:21:51 -0000 Received: (qmail 35559 invoked by uid 500); 18 Apr 2010 16:21:50 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 35476 invoked by uid 500); 18 Apr 2010 16:21:49 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 35468 invoked by uid 99); 18 Apr 2010 16:21:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Apr 2010 16:21:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Apr 2010 16:21:47 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3IGLP8S002433 for ; Sun, 18 Apr 2010 12:21:25 -0400 (EDT) Message-ID: <32882670.32901271607685707.JavaMail.jira@thor> Date: Sun, 18 Apr 2010 12:21:25 -0400 (EDT) From: "John Plevyak (JIRA)" To: common-dev@hadoop.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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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