Open BHare1985 opened 6 months ago
I have confirmed that if you setup the minimal libsodium build it will work and make check
still passes. I am not sure if modifying zmq to handle both old and new libsodium is worthwhile so I will keep this PR open, but for those stumbling across the same issue the following libsodium configure command should work:
./configure --enable-minimal
Issue description
Latest libsodium has deprecated functions, causing zmq unable to compile because warnings are treated as errors
Environment
g++ (Debian 13.2.0-13) 13.2.0 autoconf (GNU Autoconf) 2.71 automake (GNU automake) 1.16.5 libtoolize (GNU libtool) 2.4.7
Minimal test code / Steps to reproduce the issue
Note: libsodium's master branch requires
./autogen.sh
to be ran with-s
to confirm you want a dev enviroment, otherwise it just won't work. This example is how a majority of zeromq's projects suggest compiling, e.g malamute, filemqWhat's the actual result? (include assertion message & call stack if applicable)
What's the expected result?
To compile without issue, or to detect when libsodium is a new version and disable deprecation warnings.