IOT-1583: Removing /W4 warning from resource/c_common.
authorPawel Winogrodzki <pawelwi@microsoft.com>
Tue, 6 Dec 2016 02:09:45 +0000 (18:09 -0800)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Sat, 31 Dec 2016 20:15:02 +0000 (20:15 +0000)
commit1f885a36f6258373bef2c08c46d12b3b9d615551
tree3a07ba454f0e9a19ca2c24f539d47d2ee336b061
parentbc050a15dcf54cf47a475a13459d81271128a8c1
IOT-1583: Removing /W4 warning from resource/c_common.

First batch of refactoring changes to remove /W4 compiler warnings.
For now I'm starting with resource/c_common and adding
_CRT_SECURE_NO_WARNINGS to disable warnings about issues we cannot
change anyway, because the code has to build for multiple platforms.

Change-Id: I03d088f8a7c3263ea994fe075fbb579a14e31f0c
Signed-off-by: Pawel Winogrodzki <pawelwi@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15725
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
27 files changed:
build_common/msys_nt/SConscript
build_common/windows/SConscript
extlibs/tinydtls/SConscript
resource/c_common/SConscript
resource/c_common/ocrandom/test/SConscript
resource/c_common/oic_malloc/test/SConscript
resource/c_common/oic_malloc/test/linux/oic_malloc_tests.cpp
resource/c_common/oic_string/include/oic_string.h
resource/c_common/oic_string/test/SConscript
resource/c_common/oic_string/test/linux/oic_string_tests.cpp
resource/c_common/oic_time/test/SConscript
resource/c_common/unittests/SConscript [new file with mode: 0644]
resource/c_common/windows/SConscript
resource/c_common/windows/src/pthread_create.c
resource/c_common/windows/src/snprintf.c
resource/c_common/windows/test/SConscript
resource/csdk/SConscript
resource/csdk/connectivity/test/SConscript
resource/csdk/security/provisioning/unittest/SConscript
resource/csdk/security/tool/SConscript
resource/csdk/security/unittest/SConscript
resource/csdk/stack/src/ocendpoint.c
resource/csdk/stack/test/SConscript
resource/csdk/unittests/SConscript [new file with mode: 0644]
resource/provisioning/unittests/SConscript
resource/unit_tests.scons
resource/unittests/SConscript