You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Eroma (JIRA)" <ji...@apache.org> on 2016/04/11 16:38:25 UTC

[jira] [Closed] (AIRAVATA-1334) Thrift CPP has type conflicts

     [ https://issues.apache.org/jira/browse/AIRAVATA-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eroma closed AIRAVATA-1334.
---------------------------
    Resolution: Fixed

Committed code fixed the issue.

> 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.3.4#6332)