airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Marru <sma...@apache.org>
Subject Re: [GSoC] Redefinition of struct DataType in C++ sdk
Date Wed, 09 Jul 2014 18:11:02 GMT
Nadeem,

Never mind, I just raised a JIRA and committed a potential fix - https://issues.apache.org/jira/browse/AIRAVATA-1334

Please verify and comment on the JIRA and lets follow there.

Suresh

On Jul 9, 2014, at 1:55 PM, Suresh Marru <smarru@apache.org> wrote:

> Hi Nadeem,
> 
> Can you create a JIRA with this issue. Probably the namespaces are missing which is why
both are being put in default namespace.
> 
> Suresh
> 
> On Jul 9, 2014, at 1:01 PM, Nadeem Anjum <nadeem.cs.iit@gmail.com> wrote:
> 
>> Hello Devs,
>> 
>> 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.
> 


Mime
View raw message