Hi

I know that an action was done to fix warnings and flag them as issues..
However this has an drawback that I can't compile the stack on windows:

c:\users\wovander\documents\wouter\standard-orgs\oic\work\iotivity_code\iotivity
\resource\csdk\connectivity\lib\libcoap-4.1.1\include\coap\option.h(132): error
C2220: warning treated as error - no 'object' file generated
c:\users\wovander\documents\wouter\standard-orgs\oic\work\iotivity_code\iotivity
\resource\csdk\connectivity\lib\libcoap-4.1.1\include\coap\option.h(132): warnin
g C4244: 'function': conversion from 'unsigned short' to 'uint8_t', possible los
s of data
c:\users\wovander\documents\wouter\standard-orgs\oic\work\iotivity_code\iotivity
\resource\csdk\connectivity\lib\libcoap-4.1.1\include\coap\option.h(147): warnin
g C4244: 'function': conversion from 'unsigned short' to 'uint8_t', possible los
s of data
c:\users\wovander\documents\wouter\standard-orgs\oic\work\iotivity_code\iotivity
\resource\csdk\connectivity\lib\libcoap-4.1.1\include\coap\option.h(162): warnin
g C4244: 'function': conversion from 'unsigned short' to 'uint8_t', possible los
s of data
c:\users\wovander\documents\wouter\standard-orgs\oic\work\iotivity_code\iotivity
\resource\csdk\connectivity\lib\libcoap-4.1.1\include\coap\coap_time.h(184): war
ning C4244: '=': conversion from 'double' to 'coap_tick_t', possible loss of dat
a
resource\csdk\connectivity\src\cablockwisetransfer.c(1910): warning C4244: 'func
tion': conversion from 'uint16_t' to 'unsigned char', possible loss of data
scons: *** [out\windows\win32\amd64\release\resource\csdk\connectivity\src\cablo
ckwisetransfer.obj] Error 2
scons: building terminated because of errors.

Can this either be fixed or can I have an work around so that I can compile the 
stack on windows?

Kind Regards,
Wouter

_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to