Sylvain Garcia

Results 13 comments of Sylvain Garcia

Many of us already proposed CMake support, you should check forks to avoid duplication. The most advanced as far as I know is this one: https://github.com/andreasbuhr/cppcoro/tree/add_cmake_support

Hi ! I think I'm not the only one felling frustrated of attempting to contribute do cppcoro... @andreasbuhr did a great work by managing CMake support and its [pull request](https://github.com/lewissbaker/cppcoro/pull/174)...

Hi, there is already a PR for this co_awaiting for review [here](https://github.com/lewissbaker/cppcoro/pull/174). If you want to make suggestions/contribution to it I would suggest you to PR directly on [andreasbuhr](https://github.com/andreasbuhr/cppcoro/tree/add_cmake_support) branch....

Hi there ! I just implemented the io_service, file and net APIs using [liburing](https://github.com/axboe/liburing). There are some requirements: GCC10 (10.2 fixes some compilation errors in lambda captures within a coroutine)...

All tests passing ! ``` make -j && ctest [...] 100% tests passed, 0 tests failed out of 160 ``` And my [cppcoto-http](https://github.com/Garcia6l20/cppcoro-http/) extension works pretty well :)

Thanks for the reply ! I quick-fixed `io_uring_ring` context usability with coroutines and ` any_sender_of` with those 2 commits: - https://github.com/Garcia6l20/libunifex/commit/f87af151bbb8b520eea9e1a4abacf1da0135c7fe - https://github.com/Garcia6l20/libunifex/commit/8b6abf69d09c0453f5842128a1d234fe19db197f Are you interested for those changes, or...

So, the simple path would be to make `io_uring_context` send `std::system_error` (wrapped into `std::exception_ptr`) rather than `std::error_code`. Isn't it ?

On ubuntu, executables must be explicitly linked with `-lc++`: ```bash cmake -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-lc++" ```

No, it is not. Clang will only compile with libc++, but it should also work with libstdc++. This won't change until clang updates it's coroutine header to non-experimental path, or...

The answer is simple can you build it with clang without `--stdlib=libc++` ?