cfriedt commented on PR #2689:
URL: https://github.com/apache/thrift/pull/2689#issuecomment-1292794195

   A number of travis build failures. Not due to this PR, but I know what this 
fix is and will submit in a separate PR.
   
   ```
   src/thrift/transport/TFileTransport.cpp  -fPIC -DPIC -o 
src/thrift/transport/.libs/TFileTransport.o
   In file included from ./src/thrift/Thrift.h:23:0,
                    from ./src/thrift/transport/TTransport.h:23,
                    from ./src/thrift/transport/TFileTransport.h:23,
                    from src/thrift/transport/TFileTransport.cpp:22:
   ./src/thrift/concurrency/FunctionRunner.h: In member function 'virtual void 
apache::thrift::concurrency::FunctionRunner::run()':
   ./src/thrift/transport/PlatformSocket.h:118:29: error: 'usleep' was not 
declared in this scope
    #  define THRIFT_SLEEP_USEC usleep
                                ^
   ./src/thrift/concurrency/FunctionRunner.h:104:9: note: in expansion of macro 
'THRIFT_SLEEP_USEC'
            THRIFT_SLEEP_USEC(intervalMs_ * 1000);
            ^~~~~~~~~~~~~~~~~
   ./src/thrift/transport/PlatformSocket.h:118:29: note: suggested alternative: 
'fseek'
    #  define THRIFT_SLEEP_USEC usleep
                                ^
   ./src/thrift/concurrency/FunctionRunner.h:104:9: note: in expansion of macro 
'THRIFT_SLEEP_USEC'
            THRIFT_SLEEP_USEC(intervalMs_ * 1000);
            ^~~~~~~~~~~~~~~~~
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to