> On 28 Nov 2018, at 13:42, Rick McGuire <object.r...@gmail.com> wrote:
> 
> Thanks, fixes checked in. 
> 
> Rick
> 
> On Wed, Nov 28, 2018 at 7:32 AM Enrico Sorichetti via Oorexx-devel 
> <oorexx-devel@lists.sourceforge.net 
> <mailto:oorexx-devel@lists.sourceforge.net>> wrote:

SysCSSStream.cpp and CSSStream naming mismatch

Used the right name but got more errors 


/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:71:6: 
error: use of undeclared identifier 'SysSocketConnection'
bool SysSocketConnection::read(void *buf, size_t bufsize, size_t *bytesread)
     ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:102:6: 
error: use of undeclared identifier 'SysSocketConnection'
bool SysSocketConnection::write(void *buf, size_t bufsize, size_t *byteswritten)
     ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:133:6: 
error: use of undeclared identifier 'SysSocketConnection'
bool SysSocketConnection::write(void *buf, size_t bufsize, void *buf2, size_t 
buf2size, size_t *byteswritten)
     ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:194:6: 
error: use of undeclared identifier 'SysSocketConnection'
bool SysSocketConnection::disconnect()
     ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:217:1: 
error: use of undeclared identifier 'SysLocalSocketConnection'
SysLocalSocketConnection::SysLocalSocketConnection(const char *serviceName) : 
SysSocketConnection()
^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:230:6: 
error: use of undeclared identifier 'SysLocalSocketConnection'
bool SysLocalSocketConnection::connect(const char *serviceName)
     ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:275:16: 
error: use of undeclared identifier 'SysServerSocketConnectionManager';
      did you mean 'ServerConnectionManager'?
ApiConnection *SysServerSocketConnectionManager::acceptConnection()
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               ServerConnectionManager
/Users/enrico/rxapi.src/rexxapi/common/CSStream.hpp:102:7: note: 
'ServerConnectionManager' declared here
class ServerConnectionManager
      ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:280:9: 
error: use of undeclared identifier 'c'
    if (c == -1)
        ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:285:5: 
error: unknown type name 'SOCKET'
    SOCKET client = accept(c, (struct sockaddr *) &addr, &sz);
    ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:285:28: 
error: use of undeclared identifier 'c'
    SOCKET client = accept(c, (struct sockaddr *) &addr, &sz);
                           ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:294:16: 
error: unknown type name 'SysSocketConnection'
    return new SysSocketConnection(client);
               ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:303:6: 
error: use of undeclared identifier 'SysServerSocketConnectionManager';
      did you mean 'ServerConnectionManager'?
bool SysServerSocketConnectionManager::disconnect()
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     ServerConnectionManager
/Users/enrico/rxapi.src/rexxapi/common/CSStream.hpp:102:7: note: 
'ServerConnectionManager' declared here
class ServerConnectionManager
      ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:303:40: 
error: redefinition of 'disconnect'
bool SysServerSocketConnectionManager::disconnect()
                                       ^
/Users/enrico/rxapi.src/rexxapi/common/CSStream.hpp:117:18: note: previous 
definition is here
    virtual bool disconnect() { return false; };
                 ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:305:9: 
error: use of undeclared identifier 'c'
    if (c != -1)
        ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:307:21: 
error: use of undeclared identifier 'c'
        closesocket(c);
                    ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:308:9: 
error: use of undeclared identifier 'c'
        c = -1;
        ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:310:16: 
error: use of undeclared identifier 'boundServiceName'
        unlink(boundServiceName);
               ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:311:9: 
error: use of undeclared identifier 'boundServiceName'
        boundServiceName = NULL;
        ^
/Users/enrico/rxapi.src/rexxapi/common/platform/unix/SysCSStream.cpp:316:22: 
error: use of undeclared identifier 'userServiceName'
        free((void *)userServiceName);
                     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.


BTW I am testing on apple
cheers
Enrico


_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to