Commit 180df296 authored by David Antler's avatar David Antler Committed by Randeep

Treat Visual Studio C4133 warning as error

Change-Id: I9cc9019fb90d38913151b9d6678f359ca35c06a4
Signed-off-by: default avatarDavid Antler <>
Reviewed-on: default avatarjenkins-iotivity <>
Reviewed-by: default avatarDan Mihai <>
Reviewed-by: default avatarDave Thaler <>
Reviewed-by: default avatarKevin Kane <>
Reviewed-by: Randeep's avatarRandeep Singh <>
parent 80c1ca83
......@@ -19,6 +19,10 @@ if env['CC'] == 'cl':
'/wd4365', # C4365 signed/unsigned mismatch
'/wd4503']) # C4503 decorated name length exceeded, name was truncated
# Enable warnings as errors.
'/we4133']) # C4133 incompatible type conversion
# Set release/debug flags
......@@ -1338,6 +1338,8 @@ static int CmpCredId(const OicSecCred_t * first, const OicSecCred_t *second)
static uint16_t GetCredId()
//Sorts credential list in incremental order of credId
/** @todo: Remove pragma for VS2013 warning; Investigate fixing LL_SORT macro */
#pragma warning(suppress:4133)
LL_SORT(gCred, CmpCredId);
OicSecCred_t *currentCred = NULL, *credTmp = NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment