airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nadeem Anjum (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-1334) Thrift CPP has type conflicts
Date Thu, 10 Jul 2014 09:36:05 GMT

    [ https://issues.apache.org/jira/browse/AIRAVATA-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14057305#comment-14057305
] 

Nadeem Anjum commented on AIRAVATA-1334:
----------------------------------------

Hi Suresh,

Thanks for the commit. This solves the problem. 

> 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 applicationInterfaceModel_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 compilation error:
> ../lib/airavata/applicationInterfaceModel_types.h:20:8: error: redefinition of ‘struct
DataType’
> ../lib/airavata/experimentModel_types.h:150:8: error: previous definition of ‘struct
DataType’
> 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/applicationInterfaceModel_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)

Mime
View raw message