From 1991e106392bdb7afd0ab6932323b31d18ba8d59 Mon Sep 17 00:00:00 2001 From: "kevin.larke" Date: Thu, 16 Apr 2020 09:27:04 -0400 Subject: [PATCH 1/3] cwCommon.h : Added kInvalidDataTypeRC. --- cwCommon.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cwCommon.h b/cwCommon.h index 8fc56c1..ea70dd8 100644 --- a/cwCommon.h +++ b/cwCommon.h @@ -41,7 +41,8 @@ namespace cw kLabelNotFoundRC, // 22 - use by cwObject to indicate that an optional value does not exist. kDuplicateRC, // 23 - an invalid duplicate was detected kAssertFailRC, // 24 - used with cwLogFatal - kBaseAppRC // 25 + kInvalidDataTypeRC, // 25 + kBaseAppRC // 26 } cwRC_t; typedef unsigned rc_t; From 1d74c5131df21d34668fa97d6440acb135a22634 Mon Sep 17 00:00:00 2001 From: "kevin.larke" Date: Thu, 16 Apr 2020 09:27:34 -0400 Subject: [PATCH 2/3] cwCommonImpl.h : Added #icnlude --- cwCommonImpl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cwCommonImpl.h b/cwCommonImpl.h index c7950f4..898b0d0 100644 --- a/cwCommonImpl.h +++ b/cwCommonImpl.h @@ -21,6 +21,7 @@ #define cwPOSIX_FILE_SYS #include // timespec #include // struct sockaddr_in +#include // close() #define cwPathSeparatorChar '/' #endif From ef50816330f19379fcee6bf34858ea1b68110e14 Mon Sep 17 00:00:00 2001 From: "kevin.larke" Date: Thu, 16 Apr 2020 09:27:58 -0400 Subject: [PATCH 3/3] cwEuCon.cpp : Commented out unused code to prevent warnings. --- cwEuCon.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cwEuCon.cpp b/cwEuCon.cpp index 4750dcb..bd650d5 100644 --- a/cwEuCon.cpp +++ b/cwEuCon.cpp @@ -716,13 +716,14 @@ cw::rc_t cw::eucon::exec( handle_t h, unsigned sockTimeOutMs ) bool cw::eucon::areMsgsWaiting( handle_t h ) { - eucon_t* p = _handleToPtr(h); + //eucon_t* p = _handleToPtr(h); + return false; } cw::rc_t cw::eucon::getMsgs( handle_t h, msgCallback_t cbFunc, void* cbArg ) { rc_t rc = kOkRC; - eucon_t* p = _handleToPtr(h); + //eucon_t* p = _handleToPtr(h); return rc; } @@ -731,7 +732,7 @@ cw::rc_t cw::eucon::getMsgs( handle_t h, msgCallback_t cbFunc, void* cbArg ) cw::rc_t cw::eucon::sendCtlMsg( handle_t h, unsigned ctlTId, unsigned channel, unsigned ivalue, float fvalue ) { rc_t rc = kOkRC; - eucon_t* p = _handleToPtr(h); + //eucon_t* p = _handleToPtr(h); return rc; }