Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Commit

Permalink
Add better error message when compiling against wrong 0MQ version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Toralf Wittner committed Jan 7, 2012
1 parent 3df834b commit d268c91
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -5,7 +5,10 @@ Current status

This software currently has *beta* status, i.e. it had seen limited testing.

Version 0.1 - First release to provide bindings against 0MQ 3.1.0
Version 0.1.1 - Include better error message when trying to build against
invalid 0MQ version.

Version 0.1 - First release to provide bindings against 0MQ 3.1.0

Installation
------------
Expand Down
2 changes: 1 addition & 1 deletion src/System/ZMQ3/Base.hsc
Expand Up @@ -18,7 +18,7 @@ import Control.Applicative
#include <zmq.h>

#if ZMQ_VERSION_MAJOR != 3
ERROR__Invalid_0MQ_Version
#error *** INVALID 0MQ VERSION (must be 3.x) ***
#endif

newtype ZMQMsg = ZMQMsg { content :: Ptr () }
Expand Down
2 changes: 1 addition & 1 deletion zeromq3-haskell.cabal
@@ -1,5 +1,5 @@
name: zeromq3-haskell
version: 0.1
version: 0.1.1
synopsis: Bindings to ZeroMQ 3.x
category: System, FFI
license: MIT
Expand Down

0 comments on commit d268c91

Please sign in to comment.