zeromq / zeromq4-x

ØMQ 4.x stable release branch - bug fixes only
GNU General Public License v3.0
458 stars 196 forks source link

Warning: "tempnam" is deprecated #139

Closed neirar closed 8 years ago

neirar commented 8 years ago

Warning in Xcode:

/Pods/libzmq/src/ipc_listener.cpp:127:24: 'tempnam' is deprecated: 
This function is provided for compatibility reasons only.  
Due to security concerns inherent in the design of tempnam(3), it is highly 
recommended that you use mkstemp(3) instead.

This library is being used by an iOS app via CocoaPods (https://cocoapods.org/pods/libzmq). It looks like the issue was fixed a long time ago (Nov 2013) in the libzmq repo (https://github.com/zeromq/libzmq/pull/794), but it hasn't been propagated yet into this repo and its CocoaPod.