On quarta-feira, 22 de novembro de 2017 09:53:23 PST Wouter van der Beek 
(wovander) wrote:
> resource\examples\devicediscoveryserver.cpp(52): warning C4592:
> 'dataModelVersio ns': symbol will be dynamically initialized
> (implementation limitation)

This warning is a false positive, a mistake from Microsoft's compiler. See      
https://github.com/Microsoft/cpprestsdk/issues/34 where they themselves 
acknowledge that.

Make sure you're using the most up-to-date version of the compiler. VS 2015's 
latest is Update 3; VS 2017 is at version 15.4.

VS 2017 has a major regression related to dynamic initialisation, but it 
doesn't show up as warnings. It's good enough for testing, though, so I 
recommend using it if you can.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to