Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-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 4048911DBD for ; Thu, 10 Jul 2014 09:36:06 +0000 (UTC) Received: (qmail 76666 invoked by uid 500); 10 Jul 2014 09:36:05 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 76624 invoked by uid 500); 10 Jul 2014 09:36:05 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 76419 invoked by uid 99); 10 Jul 2014 09:36:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2014 09:36:05 +0000 Date: Thu, 10 Jul 2014 09:36:05 +0000 (UTC) From: "Nadeem Anjum (JIRA)" To: dev@airavata.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AIRAVATA-1334) Thrift CPP has type conflicts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AIRAVATA-1334?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 4057305#comment-14057305 ]=20 Nadeem Anjum commented on AIRAVATA-1334: ---------------------------------------- Hi Suresh, Thanks for the commit. This solves the problem.=20 > Thrift CPP has type conflicts > ----------------------------- > > Key: AIRAVATA-1334 > URL: https://issues.apache.org/jira/browse/AIRAVATA-1334 > Project: Airavata > Issue Type: Bug > Reporter: Suresh Marru > Assignee: Suresh Marru > > Nadeem report on Mailing List: > --- > In the C++ sdk, the struct DataType is defined in applicationInterfaceMod= el_types.h [1] as well as in experimentModel_types.h [2]. Both these files = are included in airavataAPI_types.h [3], which gives the following compilat= ion error: > ../lib/airavata/applicationInterfaceModel_types.h:20:8: error: redefiniti= on of =E2=80=98struct DataType=E2=80=99 > ../lib/airavata/experimentModel_types.h:150:8: error: previous definition= of =E2=80=98struct DataType=E2=80=99 > What would be the best way to get around this? > [1]: https://github.com/apache/airavata/blob/master/airavata-api/airavata= -client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceMo= del_types.h#l20 > [2]: https://github.com/apache/airavata/blob/master/airavata-api/airavata= -client-sdks/airavata-cpp-sdk/src/main/resources/lib/experimentModel_types.= h#l150 > [3]: https://github.com/apache/airavata/blob/master/airavata-api/airavata= -client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavataAPI_types.h > Thanks, > Nadeem. -- This message was sent by Atlassian JIRA (v6.2#6252)