airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nadeem Anjum <nadeem.cs....@gmail.com>
Subject [GSoC] Redefinition of struct DataType in C++ sdk
Date Wed, 09 Jul 2014 17:01:00 GMT
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