Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C226E7622 for ; Sat, 8 Oct 2011 12:28:53 +0000 (UTC) Received: (qmail 59997 invoked by uid 500); 8 Oct 2011 12:28:53 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 59957 invoked by uid 500); 8 Oct 2011 12:28:53 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 59949 invoked by uid 99); 8 Oct 2011 12:28:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2011 12:28:53 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Oct 2011 12:28:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AFC7A2AFD6F for ; Sat, 8 Oct 2011 12:28:29 +0000 (UTC) Date: Sat, 8 Oct 2011 12:28:29 +0000 (UTC) From: "Thiruvalluvan M. G. (Updated) (JIRA)" To: dev@avro.apache.org Message-ID: <112510005.11408.1318076909721.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1375774126.11295.1318074149748.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AVRO-915) Large number of warnings in C++ buildsc 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 [ https://issues.apache.org/jira/browse/AVRO-915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiruvalluvan M. G. updated AVRO-915: ------------------------------------- Attachment: AVRO-915-soln.patch AVRO-915-prob.patch One patch demonstrates the problem and the other fixes the problem. The warnings due to {{offsetof}} macro cannot be suppressed because {{offsetof}} is the part of the design for serializing objects in the previous C++ API. We'll deprecate the API some day. > Large number of warnings in C++ buildsc > --------------------------------------- > > Key: AVRO-915 > URL: https://issues.apache.org/jira/browse/AVRO-915 > Project: Avro > Issue Type: Improvement > Components: c++ > Reporter: Thiruvalluvan M. G. > Assignee: Thiruvalluvan M. G. > Fix For: 1.6.0 > > Attachments: AVRO-915-prob.patch, AVRO-915-soln.patch > > > By default, -Wall is disabled for g++. If enabled, it gives a large number of warnings. This ticket is to fix those warnings. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira