if target_os in ['windows', 'msys_nt']:
libocsrm_env.AppendUnique(LIBPATH = [os.path.join(libocsrm_env.get('BUILD_DIR'), 'resource', 'oc_logger')])
- # Enable W4 but disable the following warnings:
- # - warning C4201: nonstandard extension used: nameless struct/union
- # - Disabled due to the widespread usage in internal IoTivity components as well as external libs.
+ # Enable W4 but disable the following warning:
# - warning C4232: nonstandard extension used: 'read': address of dllimport 'fread' is not static, identity not guaranteed
# - fread, frwrite, etc are provided by the platform and cannot be changed.
- libocsrm_env.AppendUnique(CCFLAGS=['/wd4232', '/W4', '/WX'])
+ # - warning C4200: nonstandard extension used: zero-sized array in struct/union
+ # - warning C4214: nonstandard extension used: bit field types other than int
+ # - warnings inherited from a header included from libcoap
- libocsrm_env.AppendUnique(CCFLAGS=['/wd4201', '/wd4232', '/wd4200', '/wd4214', '/W4', '/WX'])
++ libocsrm_env.AppendUnique(CCFLAGS=['/wd4232', '/wd4200', '/wd4214', '/W4', '/WX'])
if target_os in ['linux', 'android', 'tizen', 'msys_nt', 'windows'] and libocsrm_env.get('SECURED') == '1':
SConscript('provisioning/SConscript', 'libocsrm_env')
//reset profile
extern const char * OIC_JSON_RESET_PF_NAME;
--
- extern const char * OIC_JSON_SUBJECT_NAME;
extern const char * OIC_JSON_SUBJECTID_NAME;
extern const char * OIC_JSON_RESOURCES_NAME;
extern const char * OIC_JSON_AMSS_NAME;
extern const char * OIC_JSON_OXM_SEL_NAME;
extern const char * OIC_JSON_DEVICE_ID_FORMAT_NAME;
extern const char * OIC_JSON_CREDID_NAME;
++extern const char * OIC_JSON_SUBJECT_NAME;
extern const char * OIC_JSON_ROLEIDS_NAME;
extern const char * OIC_JSON_CREDTYPE_NAME;
extern const char * OIC_JSON_PUBLICDATA_NAME;
const char * OIC_JSON_OM_NAME = "om";
const char * OIC_JSON_SM_NAME = "sm";
const char * OIC_JSON_CREDID_NAME = "credid";
++const char * OIC_JSON_SUBJECT_NAME = "subject";
const char * OIC_JSON_SUBJECTID_NAME = "subjectuuid";
const char * OIC_JSON_ROLEIDS_NAME = "roleid";
const char * OIC_JSON_CREDTYPE_NAME = "credtype";