Przeglądaj źródła

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.
Ivan Grokhotkov 3 lat temu
rodzic
commit
9dba0476a0
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      components/asio/port/include/esp_asio_config.h

+ 1 - 0
components/asio/port/include/esp_asio_config.h

@@ -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