Skip to content

Conversation

@passgat
Copy link
Contributor

@passgat passgat commented Nov 9, 2025

Compiling trantor in Buildroot raises the following error:

In file included from output/host/include/openssl/ssl.h:30,
from output/build/host-drogon-v1.9.11/trantor/trantor/net/inner/tlsprovider/OpenSSLProvider.cc:6:
build/host-drogon-v1.9.11/trantor/trantor/net/inner/tlsprovider/OpenSSLProvider.cc: In member function ‘ssize_t OpenSSLProvider::sendTLSData()’: output/host/include/openssl/bio.h:629:34: error: value computed is not used [-Werror=unused-value]
629 | # define BIO_reset(b) (int)BIO_ctrl(b,BIO_CTRL_RESET,0,NULL)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
output/build/host-drogon-v1.9.11/trantor/trantor/net/inner/tlsprovider/OpenSSLProvider.cc:777:9: note: in expansion of macro ‘BIO_reset’
777 | BIO_reset(wbio_);
| ^~~~~~~~~

Compiling trantor in Buildroot raises the following error:

In file included from output/host/include/openssl/ssl.h:30,
                 from output/build/host-drogon-v1.9.11/trantor/trantor/net/inner/tlsprovider/OpenSSLProvider.cc:6:
build/host-drogon-v1.9.11/trantor/trantor/net/inner/tlsprovider/OpenSSLProvider.cc: In member function ‘ssize_t OpenSSLProvider::sendTLSData()’:
output/host/include/openssl/bio.h:629:34: error: value computed is not used [-Werror=unused-value]
  629 | # define BIO_reset(b)            (int)BIO_ctrl(b,BIO_CTRL_RESET,0,NULL)
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
output/build/host-drogon-v1.9.11/trantor/trantor/net/inner/tlsprovider/OpenSSLProvider.cc:777:9: note: in expansion of macro ‘BIO_reset’
  777 |         BIO_reset(wbio_);
      |         ^~~~~~~~~

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
@an-tao an-tao merged commit 5714e8f into an-tao:master Nov 10, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants