Re: [zeromq-dev] czmq compilation failure (-Werror)

2013-09-10 Thread Patrick Noffke
On Tue, Sep 10, 2013 at 3:56 PM, Steven McCoy wrote: > Use a C99 compiler for CZMQ. With GCC this is usually with a flag -std=gnu99 > or -std=c99. > > Thanks, setting CFLAGS=-std=c99 during configure worked. Patrick ___ zeromq-dev mailing list zeromq-

Re: [zeromq-dev] czmq compilation failure (-Werror)

2013-09-10 Thread Steven McCoy
On 10 September 2013 16:20, Patrick Noffke wrote: > I am attempting to compile czmq with a cross-compiler (gcc 4.8.0), and I > am getting a bunch of errors like this: > > zbeacon.c: In function 'zbeacon_publish': > zbeacon.c:176:5: error: ISO C90 forbids mixed declarations and code > [-Werror=ped

[zeromq-dev] czmq compilation failure (-Werror)

2013-09-10 Thread Patrick Noffke
Hello, I am attempting to compile czmq with a cross-compiler (gcc 4.8.0), and I am getting a bunch of errors like this: make[3]: Entering directory `/home/pnoffke/QT_Linux/compile/czmq-1.4.1/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-quadtech-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../inc