Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed compilation issue #2

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

stephan57160
Copy link

Related to issue #1 .
At least, for me, now this compiles fine :-)

- Ubuntu 18.0.4
- gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
Issue due to variables, passed as FORMAT string, to PRINTF-LIKE functions.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gozyre-master/node.go: In function ‘wrap_set_endpoint’:
../gozyre-master/node.go:7:2: warning: format not a string literal and no format arguments [-Wformat-security]
  return zyre_set_endpoint(self, ep);
  ^~~~~~
../gozyre-master/node.go: In function ‘wrap_gossip_bind’:
../gozyre-master/node.go:11:2: warning: format not a string literal and no format arguments [-Wformat-security]
  zyre_gossip_bind(self, bind);
  ^~~~~~~~~~~~~~~~
../gozyre-master/node.go: In function ‘wrap_gossip_connect’:
../gozyre-master/node.go:15:2: warning: format not a string literal and no format arguments [-Wformat-security]
  zyre_gossip_connect(self, conn);
  ^~~~~~~~~~~~~~~~~~~
../gozyre-master/node.go: In function ‘wrap_set_header’:
../gozyre-master/node.go:19:2: warning: format not a string literal and no format arguments [-Wformat-security]
  zyre_set_header(self, name, val);
  ^~~~~~~~~~~~~~~
- init(): initialize ZMQ, so that there is no interaction with GO signal handling mechanism.
- Exit(): free all ZMQ resources.
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.

1 participant