You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get dozens of errors that files are not found when trying to build with clang10.
I have tried to update experimental/coroutine to coroutine but it just doesn't work.
I g++-10 finds libstdc++-10 without an issue.
❯ cake
clang: /usr/bin/clang
llvm-ar: /usr/bin/llvm-ar
Building with /home/paul/repositories/cppcoro/config.cake - Variant(release='optimised', platform='linux', architecture='x64', compiler='clang')
Building with /home/paul/repositories/cppcoro/config.cake - Variant(release='debug', platform='linux', architecture='x64', compiler='clang')
Compiling lib/async_auto_reset_event.cpp
Compiling lib/async_manual_reset_event.cpp
Compiling lib/async_mutex.cpp
Compiling lib/cancellation_state.cpp
In file included from lib/async_auto_reset_event.cpp:6:
./include/cppcoro/async_auto_reset_event.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/static_thread_pool_tests.cpp
In file included from lib/async_mutex.cpp:6:
./include/cppcoro/async_mutex.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from lib/async_manual_reset_event.cpp:6:
./include/cppcoro/async_manual_reset_event.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
/usr/bin/clang: failed with exit code 1
Compiling test/ipv6_endpoint_tests.cpp
Compiling test/ipv6_address_tests.cpp
In file included from lib/cancellation_state.cpp:6:
lib/cancellation_state.hpp:10:10: fatal error: 'thread' file not found
#include <thread>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/ipv4_endpoint_tests.cpp
In file included from test/static_thread_pool_tests.cpp:6:
./include/cppcoro/static_thread_pool.hpp:8:10: fatal error: 'atomic' file not found
#include <atomic>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/ipv4_address_tests.cpp
In file included from test/ipv6_endpoint_tests.cpp:7:
In file included from ./include/cppcoro/net/ipv6_endpoint.hpp:8:
./include/cppcoro/net/ipv6_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/ip_endpoint_tests.cpp
In file included from test/ipv4_endpoint_tests.cpp:6:
In file included from ./include/cppcoro/net/ipv4_endpoint.hpp:8:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/ip_address_tests.cpp
In file included from test/ipv6_address_tests.cpp:6:
./include/cppcoro/net/ipv6_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/when_all_ready_tests.cpp
In file included from test/ipv4_address_tests.cpp:6:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/when_all_tests.cpp
In file included from test/ip_endpoint_tests.cpp:7:
In file included from ./include/cppcoro/net/ip_endpoint.hpp:8:
In file included from ./include/cppcoro/net/ip_address.hpp:8:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/multi_producer_sequencer_tests.cpp
In file included from test/ip_address_tests.cpp:6:
In file included from ./include/cppcoro/net/ip_address.hpp:8:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/single_producer_sequencer_tests.cpp
In file included from test/multi_producer_sequencer_tests.cpp:6:
In file included from ./include/cppcoro/multi_producer_sequencer.hpp:9:
In file included from ./include/cppcoro/sequence_barrier.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/single_consumer_async_auto_reset_event_tests.cpp
In file included from test/single_producer_sequencer_tests.cpp:6:
In file included from ./include/cppcoro/single_producer_sequencer.hpp:9:
In file included from ./include/cppcoro/sequence_barrier.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/sync_wait_tests.cpp
In file included from test/single_consumer_async_auto_reset_event_tests.cpp:6:
./include/cppcoro/single_consumer_async_auto_reset_event.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/shared_task_tests.cpp
In file included from test/when_all_ready_tests.cpp:6:
In file included from ./include/cppcoro/when_all.hpp:8:
In file included from ./include/cppcoro/when_all_ready.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/sequence_barrier_tests.cpp
In file included from test/when_all_tests.cpp:6:
In file included from ./include/cppcoro/when_all.hpp:8:
In file included from ./include/cppcoro/when_all_ready.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/task_tests.cpp
In file included from test/sync_wait_tests.cpp:6:
In file included from ./include/cppcoro/sync_wait.hpp:8:
./include/cppcoro/detail/lightweight_manual_reset_event.hpp:11:11: fatal error: 'atomic' file not found
# include <atomic>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/cancellation_token_tests.cpp
In file included from test/sequence_barrier_tests.cpp:6:
In file included from ./include/cppcoro/sequence_barrier.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/async_latch_tests.cpp
In file included from test/task_tests.cpp:6:
In file included from ./include/cppcoro/task.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/async_mutex_tests.cpp
In file included from test/cancellation_token_tests.cpp:8:
./include/cppcoro/cancellation_registration.hpp:10:10: fatal error: 'functional' file not found
#include <functional>
^~~~~~~~~~~~
1 error generated.
In file included from test/shared_task_tests.cpp:6:
In file included from ./include/cppcoro/shared_task.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
/usr/bin/clang: failed with exit code 1
Compiling test/async_auto_reset_event_tests.cpp
Compiling test/async_manual_reset_event_tests.cpp
In file included from test/async_mutex_tests.cpp:6:
./include/cppcoro/async_mutex.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/async_generator_tests.cpp
In file included from test/async_latch_tests.cpp:6:
In file included from ./include/cppcoro/async_latch.hpp:8:
./include/cppcoro/async_manual_reset_event.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/recursive_generator_tests.cpp
In file included from test/async_manual_reset_event_tests.cpp:6:
./include/cppcoro/async_manual_reset_event.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/generator_tests.cpp
In file included from test/async_auto_reset_event_tests.cpp:6:
./include/cppcoro/async_auto_reset_event.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/counted.cpp
In file included from test/async_generator_tests.cpp:6:
In file included from ./include/cppcoro/async_generator.hpp:9:
In file included from ./include/cppcoro/fmap.hpp:8:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/main.cpp
Compiling lib/spin_mutex.cpp
In file included from test/recursive_generator_tests.cpp:6:
In file included from ./include/cppcoro/recursive_generator.hpp:8:
./include/cppcoro/generator.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/spin_wait.cpp
In file included from test/generator_tests.cpp:6:
./include/cppcoro/generator.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/auto_reset_event.cpp
In file included from lib/spin_mutex.cpp:6:
lib/spin_mutex.hpp:8:10: fatal error: 'atomic' file not found
#include <atomic>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/static_thread_pool.cpp
In file included from lib/spin_wait.cpp:6:
lib/spin_wait.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/ipv6_endpoint.cpp
In file included from lib/auto_reset_event.cpp:6:
lib/auto_reset_event.hpp:13:11: fatal error: 'mutex' file not found
# include <mutex>
^~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/ipv6_address.cpp
In file included from lib/static_thread_pool.cpp:6:
./include/cppcoro/static_thread_pool.hpp:8:10: fatal error: 'atomic' file not found
#include <atomic>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/ipv4_endpoint.cpp
In file included from lib/ipv6_endpoint.cpp:6:
In file included from ./include/cppcoro/net/ipv6_endpoint.hpp:8:
./include/cppcoro/net/ipv6_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/ipv4_address.cpp
In file included from lib/ipv6_address.cpp:6:
./include/cppcoro/net/ipv6_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/ip_endpoint.cpp
In file included from test/main.cpp:7:
test/doctest/doctest.h:415:10: fatal error: 'ciso646' file not found
#include <ciso646>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/ip_address.cpp
In file included from lib/ipv4_address.cpp:6:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/lightweight_manual_reset_event.cpp
In file included from lib/ipv4_endpoint.cpp:6:
In file included from ./include/cppcoro/net/ipv4_endpoint.hpp:8:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/cancellation_registration.cpp
In file included from lib/ip_address.cpp:6:
In file included from ./include/cppcoro/net/ip_address.hpp:8:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/cancellation_source.cpp
In file included from lib/ip_endpoint.cpp:6:
In file included from ./include/cppcoro/net/ip_endpoint.hpp:8:
In file included from ./include/cppcoro/net/ip_address.hpp:8:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/cancellation_token.cpp
In file included from lib/lightweight_manual_reset_event.cpp:6:
./include/cppcoro/detail/lightweight_manual_reset_event.hpp:11:11: fatal error: 'atomic' file not found
# include <atomic>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/cancellation_state.cpp
In file included from lib/cancellation_registration.cpp:6:
./include/cppcoro/cancellation_registration.hpp:10:10: fatal error: 'functional' file not found
#include <functional>
^~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/async_mutex.cpp
In file included from lib/cancellation_source.cpp:8:
lib/cancellation_state.hpp:10:10: fatal error: 'thread' file not found
#include <thread>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/async_manual_reset_event.cpp
In file included from lib/cancellation_token.cpp:7:
./include/cppcoro/operation_cancelled.hpp:8:10: fatal error: 'exception' file not found
#include <exception>
^~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/async_auto_reset_event.cpp
In file included from lib/cancellation_state.cpp:6:
lib/cancellation_state.hpp:10:10: fatal error: 'thread' file not found
#include <thread>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/static_thread_pool_tests.cpp
In file included from lib/async_mutex.cpp:6:
./include/cppcoro/async_mutex.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/ipv6_endpoint_tests.cpp
In file included from lib/async_auto_reset_event.cpp:6:
./include/cppcoro/async_auto_reset_event.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/ipv6_address_tests.cpp
In file included from lib/async_manual_reset_event.cpp:6:
./include/cppcoro/async_manual_reset_event.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/ipv4_endpoint_tests.cpp
In file included from test/static_thread_pool_tests.cpp:6:
./include/cppcoro/static_thread_pool.hpp:8:10: fatal error: 'atomic' file not found
#include <atomic>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/ipv4_address_tests.cpp
In file included from test/ipv4_endpoint_tests.cpp:6:
In file included from ./include/cppcoro/net/ipv4_endpoint.hpp:8:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/ip_endpoint_tests.cpp
In file included from test/ipv6_address_tests.cpp:6:
./include/cppcoro/net/ipv6_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/ip_address_tests.cpp
In file included from test/ipv6_endpoint_tests.cpp:7:
In file included from ./include/cppcoro/net/ipv6_endpoint.hpp:8:
./include/cppcoro/net/ipv6_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/when_all_ready_tests.cpp
In file included from test/ipv4_address_tests.cpp:6:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/when_all_tests.cpp
In file included from test/ip_endpoint_tests.cpp:7:
In file included from ./include/cppcoro/net/ip_endpoint.hpp:8:
In file included from ./include/cppcoro/net/ip_address.hpp:8:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/multi_producer_sequencer_tests.cpp
In file included from test/ip_address_tests.cpp:6:
In file included from ./include/cppcoro/net/ip_address.hpp:8:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/single_producer_sequencer_tests.cpp
In file included from test/when_all_ready_tests.cpp:6:
In file included from ./include/cppcoro/when_all.hpp:8:
In file included from ./include/cppcoro/when_all_ready.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/single_consumer_async_auto_reset_event_tests.cpp
In file included from test/single_producer_sequencer_tests.cpp:6:
In file included from ./include/cppcoro/single_producer_sequencer.hpp:9:
In file included from ./include/cppcoro/sequence_barrier.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/sync_wait_tests.cpp
In file included from test/single_consumer_async_auto_reset_event_tests.cpp:6:
./include/cppcoro/single_consumer_async_auto_reset_event.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/shared_task_tests.cpp
In file included from test/multi_producer_sequencer_tests.cpp:6:
In file included from ./include/cppcoro/multi_producer_sequencer.hpp:9:
In file included from ./include/cppcoro/sequence_barrier.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/sequence_barrier_tests.cpp
In file included from test/when_all_tests.cpp:6:
In file included from ./include/cppcoro/when_all.hpp:8:
In file included from ./include/cppcoro/when_all_ready.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/task_tests.cpp
In file included from test/sync_wait_tests.cpp:6:
In file included from ./include/cppcoro/sync_wait.hpp:8:
./include/cppcoro/detail/lightweight_manual_reset_event.hpp:11:11: fatal error: 'atomic' file not found
# include <atomic>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/cancellation_token_tests.cpp
In file included from test/shared_task_tests.cpp:6:
In file included from ./include/cppcoro/shared_task.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/async_latch_tests.cpp
In file included from test/sequence_barrier_tests.cpp:6:
In file included from ./include/cppcoro/sequence_barrier.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/async_mutex_tests.cpp
In file included from test/task_tests.cpp:6:
In file included from ./include/cppcoro/task.hpp:9:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/async_manual_reset_event_tests.cpp
In file included from test/async_latch_tests.cpp:6:
In file included from ./include/cppcoro/async_latch.hpp:8:
./include/cppcoro/async_manual_reset_event.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/async_auto_reset_event_tests.cpp
In file included from test/async_manual_reset_event_tests.cpp:6:
./include/cppcoro/async_manual_reset_event.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/async_generator_tests.cpp
In file included from test/async_mutex_tests.cpp:6:
./include/cppcoro/async_mutex.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/recursive_generator_tests.cpp
In file included from test/cancellation_token_tests.cpp:8:
./include/cppcoro/cancellation_registration.hpp:10:10: fatal error: 'functional' file not found
#include <functional>
^~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/generator_tests.cpp
In file included from test/async_auto_reset_event_tests.cpp:6:
./include/cppcoro/async_auto_reset_event.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/counted.cpp
In file included from test/async_generator_tests.cpp:6:
In file included from ./include/cppcoro/async_generator.hpp:9:
In file included from ./include/cppcoro/fmap.hpp:8:
In file included from ./include/cppcoro/awaitable_traits.hpp:8:
In file included from ./include/cppcoro/detail/get_awaiter.hpp:8:
./include/cppcoro/detail/is_awaiter.hpp:8:10: fatal error: 'type_traits' file not found
#include <type_traits>
^~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling test/main.cpp
Compiling lib/spin_mutex.cpp
In file included from test/recursive_generator_tests.cpp:6:
In file included from ./include/cppcoro/recursive_generator.hpp:8:
./include/cppcoro/generator.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/spin_wait.cpp
In file included from lib/spin_mutex.cpp:6:
lib/spin_mutex.hpp:8:10: fatal error: 'atomic' file not found
#include <atomic>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/auto_reset_event.cpp
In file included from test/generator_tests.cpp:6:
./include/cppcoro/generator.hpp:8:10: fatal error: 'experimental/coroutine' file not found
#include <experimental/coroutine>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/static_thread_pool.cpp
In file included from lib/spin_wait.cpp:6:
lib/spin_wait.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/ipv6_endpoint.cpp
In file included from test/main.cpp:7:
test/doctest/doctest.h:415:10: fatal error: 'ciso646' file not found
#include <ciso646>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/ipv6_address.cpp
In file included from lib/auto_reset_event.cpp:6:
lib/auto_reset_event.hpp:13:11: fatal error: 'mutex' file not found
# include <mutex>
^~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/ipv4_endpoint.cpp
In file included from lib/static_thread_pool.cpp:6:
./include/cppcoro/static_thread_pool.hpp:8:10: fatal error: 'atomic' file not found
#include <atomic>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/ipv4_address.cpp
In file included from lib/ipv6_endpoint.cpp:6:
In file included from ./include/cppcoro/net/ipv6_endpoint.hpp:8:
./include/cppcoro/net/ipv6_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/ip_endpoint.cpp
In file included from lib/ipv6_address.cpp:6:
./include/cppcoro/net/ipv6_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/ip_address.cpp
In file included from lib/ipv4_address.cpp:6:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/lightweight_manual_reset_event.cpp
In file included from lib/ipv4_endpoint.cpp:6:
In file included from ./include/cppcoro/net/ipv4_endpoint.hpp:8:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/cancellation_registration.cpp
In file included from lib/ip_endpoint.cpp:6:
In file included from ./include/cppcoro/net/ip_endpoint.hpp:8:
In file included from ./include/cppcoro/net/ip_address.hpp:8:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/cancellation_source.cpp
In file included from lib/cancellation_registration.cpp:6:
./include/cppcoro/cancellation_registration.hpp:10:10: fatal error: 'functional' file not found
#include <functional>
^~~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Compiling lib/cancellation_token.cpp
In file included from lib/ip_address.cpp:6:
In file included from ./include/cppcoro/net/ip_address.hpp:8:
./include/cppcoro/net/ipv4_address.hpp:8:10: fatal error: 'cstdint' file not found
#include <cstdint>
^~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
In file included from lib/lightweight_manual_reset_event.cpp:6:
./include/cppcoro/detail/lightweight_manual_reset_event.hpp:11:11: fatal error: 'atomic' file not found
# include <atomic>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
In file included from lib/cancellation_token.cpp:7:
./include/cppcoro/operation_cancelled.hpp:8:10: fatal error: 'exception' file not found
#include <exception>
^~~~~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
In file included from lib/cancellation_source.cpp:8:
lib/cancellation_state.hpp:10:10: fatal error: 'thread' file not found
#include <thread>
^~~~~~~~
1 error generated.
/usr/bin/clang: failed with exit code 1
Build failed with 86 errors.
The following targets failed to build:
- build/linux_x64_clang10.0.0_optimised/obj/async_auto_reset_event.o
- build/linux_x64_clang10.0.0_optimised/obj/async_manual_reset_event.o
- build/linux_x64_clang10.0.0_optimised/obj/async_mutex.o
- build/linux_x64_clang10.0.0_optimised/obj/cancellation_state.o
- build/linux_x64_clang10.0.0_debug/test/obj/static_thread_pool_tests.o
- build/linux_x64_clang10.0.0_debug/test/obj/ipv6_endpoint_tests.o
- build/linux_x64_clang10.0.0_debug/test/obj/ipv4_endpoint_tests.o
- build/linux_x64_clang10.0.0_debug/test/obj/ipv6_address_tests.o
- build/linux_x64_clang10.0.0_debug/test/obj/ipv4_address_tests.o
- build/linux_x64_clang10.0.0_debug/test/obj/ip_endpoint_tests.o
- build/linux_x64_clang10.0.0_debug/test/obj/ip_address_tests.o
- build/linux_x64_clang10.0.0_debug/test/obj/multi_producer_sequencer_tests.o
- build/linux_x64_clang10.0.0_debug/test/obj/single_producer_sequencer_tests.o
- build/linux_x64_clang10.0.0_debug/test/obj/single_consumer_async_auto_reset_event_tests.o
- build/linux_x64_clang10.0.0_debug/test/obj/when_all_ready_tests.o
- build/linux_x64_clang10.0.0_debug/test/obj/when_all_tests.o
- ... 70 more targets ...
Build took 0:00:03.661. [ 3,889s ]
❯ clang --version
clang version 10.0.0-4ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
The text was updated successfully, but these errors were encountered:
I get dozens of errors that files are not found when trying to build with clang10.
I have tried to update experimental/coroutine to coroutine but it just doesn't work.
I g++-10 finds libstdc++-10 without an issue.
The text was updated successfully, but these errors were encountered: