chriskohlhoff / asio

Asio C++ Library
http://think-async.com/Asio
4.72k stars 1.19k forks source link

Does asio support compile on qnx710 #1460

Closed Je2ry closed 2 months ago

Je2ry commented 2 months ago

Hi,i have questions on compile asio on qnx710. errors: /home/asio/asio/include/asio/detail/tss_ptr.hpp:29:3: error: #error Only Windows and POSIX are supported!

error Only Windows and POSIX are supported!

/home/asio/asio/include/asio/detail/signal_blocker.hpp:27:3: error: #error Only Windows and POSIX are supported!

error Only Windows and POSIX are supported!

^~~~~ I add add_definitions(-DASIO_HAS_PTHREADS) in my CMakeLists.txt to solve the first problem. I wonder whether it is right. Besides, how can i solve the second error. Does asion support compile on qnx710 and to build on qnx710,what should i do?

Je2ry commented 2 months ago

already done

yuzu-ogura commented 2 months ago

already done

Excuse me, I got the same error when cross compile asio repository. Could you tell how do you solve this question?