pebbe / zmq4

A Go interface to ZeroMQ version 4
BSD 2-Clause "Simplified" License
1.17k stars 166 forks source link

Fix error message #171

Closed juburr closed 3 years ago

juburr commented 3 years ago

Error message versions appear to be reversed? zmq_version() seems to report the zmq version on the system that the app is installed to.

pebbe commented 3 years ago

No. C.zmq4_major, C.zmq4_minor, C.zmq4_patch is the compile time version. major, minor, patch is the runtime version.

juburr commented 3 years ago

Yes, I agree with that. Can you maybe consider changing the wording from "installed with" to "compiled with" instead?

pebbe commented 3 years ago

Yes, that makes sense. I'll do that.

Back in the days, packages were compiled once, at the time of installation. That is no longer the case.