Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
iotivity-classic
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,289
    • Issues 3,289
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • IoTivity
  • iotivity-classic
  • Issues
  • #1951

Closed
Open
Opened Sep 22, 2017 by Rami Alshafi@ramiOwner

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: iotivity/iotivity-classic#1951