Thanks to visit codestin.com
Credit goes to github.com

Skip to content

The v2.2.0 branch of czmq dose not build with gcc-4.9.2 #33

@pank7

Description

@pank7

I am building it in an updated archlinux box, and the error message says:

...
make[2]: Entering directory '/home/pank7/src/czmq/src'
  CC       zauth.lo
In file included from /usr/include/ctype.h:25:0,
                 from ../include/czmq_prelude.h:203,
                 from ../include/czmq.h:19,
                 from zauth.c:25:
/usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^
cc1: all warnings being treated as errors
Makefile:802: recipe for target 'zauth.lo' failed
make[2]: *** [zauth.lo] Error 1
...

I know the lastest master branch of czmq has already fixed this, but in my situation, I am trying to use it through erlang-czmq, which is using the v2.2.0 branch, so my question is are we planning on moving to a newer version of czmq?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions