forked from espressif/esp-idf
asio: disable concepts support
The bundled version of asio uses legacy concepts syntax (https://en.cppreference.com/w/cpp/experimental/constraints) which is not accepted by GCC with -std=c++20. Disable the concepts support until asio is upgraded to a version which supports the new syntax.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
# define ASIO_SEPARATE_COMPILATION
|
||||
# define ASIO_STANDALONE
|
||||
# define ASIO_HAS_PTHREADS
|
||||
# define ASIO_DISABLE_CONCEPTS
|
||||
|
||||
# ifdef CONFIG_ASIO_USE_ESP_OPENSSL
|
||||
# define ASIO_USE_ESP_OPENSSL
|
||||
|
Reference in New Issue
Block a user