On 10 September 2013 16:20, Patrick Noffke <[email protected]> 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=pedantic] > zmsg_t *msg = zmsg_new (); > > As per the error message and this RFC: http://rfc.zeromq.org/spec:21 Use a C99 compiler for CZMQ. With GCC this is usually with a flag -std=gnu99 or -std=c99. -- Steve-o
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
