IOT-1583: Removing /W4 warnings from mbedtls.
authorPawel Winogrodzki <pawelwi@microsoft.com>
Mon, 20 Mar 2017 19:39:43 +0000 (12:39 -0700)
committerKevin Kane <kkane@microsoft.com>
Wed, 5 Apr 2017 17:34:59 +0000 (17:34 +0000)
commit114d75afcaa4624a5d7a0b15cd905d0d1625ea9f
treeba62c308e5d74b83be9234bc2f2ea7130f10d568
parent8e6f6b8f94dd9d1d01312ab5d6d972dd30bdfc11
IOT-1583: Removing /W4 warnings from mbedtls.

Removing all /W4 warnings from mbedtls and adding
/WX to the mbedtls' SConscript to make sure no new ones
get added.

I'm adding a separate header for Windows builds, because
they require a different set of macros to build correctly
("MBEDTLS_HAVE_WINSOCK2" has to be available). The config
headers are not generated automatically for mbedTLS and
a default version is just checked into the repo, so each
separate configuration/platform build requires a separate
header.

Change-Id: I3b423fb2d0b978da5e9907e58df6b6818533ba22
Signed-off-by: Pawel Winogrodzki <pawelwi@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18013
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
extlibs/mbedtls/SConscript
extlibs/mbedtls/config-iotivity.h
extlibs/mbedtls/config-iotivity_windows.h [new file with mode: 0644]
extlibs/mbedtls/ocf.patch