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; 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 diff --git a/cwEuCon.cpp b/cwEuCon.cpp index 5b3c26a..69cd9c9 100644 --- a/cwEuCon.cpp +++ b/cwEuCon.cpp @@ -717,13 +717,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; } @@ -732,7 +733,7 @@ cw::rc_t cw::eucon::getMsgs( handle_t h, msgCallback_t cbFunc, void* cbArg ) cw::rc_t cw::eucon::sendMsg( handle_t h, unsigned flags, unsigned channel, unsigned ivalue, float fvalue ) { rc_t rc = kOkRC; - eucon_t* p = _handleToPtr(h); + //eucon_t* p = _handleToPtr(h); return rc; }