Windows build fails for the command WITH_MQ options
Windows Iotivity main build fails for the command WITH_MQ=PUB,SUB,BROKER
Environment : Windows10 , visual studio2015
Build Command : scons VERBOSE=1 TARGET_OS=windows TARGET_ARCH=amd64 RELEASE=1 WITH_RA=0 TARGET_TRANSPORT=IP SECURED=1 WITH_TCP=1 BUILD_SAMPLE=ON LOGGING=0 TEST=0 RD_MODE=CLIENT,SERVER ROUTING=EP WITH_UPSTREAM_LIBCOAP=1 WITH_MQ=PUB,SUB,BROKER
Build terminates by giving below message :
InProcClientWrapper.cpp
NOTE: Use of this header (bool_trait_def.hpp) is deprecated
NOTE: Use of this header (template_arity_spec.hpp) is deprecated
NOTE: Use of this header (template_arity_spec.hpp) is deprecated
resource\src\InProcClientWrapper.cpp(620): error C2664: 'OC::ListenOCContainer::ListenOCContainer(OC::ListenOCContainer &&)': cannot convert argument 4 from 'OCRepPayload *' to 'OCDiscoveryPayload *'
resource\src\InProcClientWrapper.cpp(620): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
resource\src\InProcClientWrapper.cpp(676): warning C4267: 'argument': conversion from 'size_t' to 'uint8_t', possible loss of data
resource\src\InProcClientWrapper.cpp(868): warning C4267: 'argument': conversion from 'size_t' to 'uint8_t', possible loss of data
scons: *** [out\windows\win32\amd64\release\resource\src\InProcClientWrapper.obj] Error 2
JIRA migration meta data
- JIRA Issue ID: IOT-2751
- Reporter: kousthubha
- Assignee: danmihai
- Creator: kousthubha
- Created at: 2017-09-22T06:51:07.000-0700
- Found in Version: 1.3.1-RC1
- Fix in Version: None
- Issue Severity: Major
- Reproducibility: Always (100%)
- Operating System: Windows
- Hardware/ OEM Platform: None
- External URL: None
- Bugzilla ID: None
- Product: None
- Status: Closed
- Components: Build System
- Priority: Undecided
- Due Date: None
-
Issue Type: Bug
END of JIRA migration meta data