Languages

Menu
Sites
Language
Headers not including dependent headers

Hello all,

I use Clang to parse Tizen's OSP headers as installed with the SDK. Unfortunately, some headers do not include the headers they depend on. I assume the SDK builds because some CPP file includes the dependencies. However, Clang has no way of detecting that and it reports errors. Let me give you a few examples of what headers I had to include to make it work:

 

#include <FAppTypes.h> in FAppIAppControlResponseListener.h
#include <FBaseDataType.h> in FAppIAppFrame.h
#include <FBaseObject.h> in FAppIAppLaunchConditionEventListener.h, FBaseComparerT.h
#include <FBaseColIList.h> in FAppIAppLaunchConditionEventListener.h
#include <FBaseColIList.h>, <FBaseColIMap.h> in FAppISqlDataControlProviderEventListener.h
#include <FOspConfig.h> in FAppIAppLaunchConditionEventListener.h

 

There are more, and I believe they will become too many when all of OSP has been parsed. I'd like to ask if I do seomthing wrong or if these are bugs, and if so, do you take patches?

 

Regards,

Dimitar Dobrev