zeromq / cppzmq

Header-only C++ binding for libzmq
http://www.zeromq.org
MIT License
1.94k stars 757 forks source link

ZMQ_DEPRECATED doesn't fallback for unrecognized compiler #516

Closed ashish-17 closed 2 years ago

ashish-17 commented 2 years ago

If you use a compiler outside of MSC_VER and GNUC, then the if-else check doesn't provide a fallback for ZMQ_DEPRECATED macro which leads to a build failure. Specifically in my case , I am using Oracle's SunPro 5.13.0.

My suggestions is to fallback to noop in case you don't recognize a compiler.