Linux build v0.1

compiles, and runs Example.html fine

linux wheezy, czmq 2.2.0, zeromq 4.0.4

some warnings unfixed:


make -k
rm -rf ./deps ./objs zwstest
mkdir -p ./deps
mkdir -p ./objs
gcc  -std=gnu99  -Wall   -g   -c -o objs/main.o -c main.c
gcc  -std=gnu99  -Wall   -g   -c -o objs/zwsdecoder.o -c zwsdecoder.c
zwsdecoder.c: In function ‘zwsdecoder_process_byte’:
zwsdecoder.c:138:2: warning: enumeration value ‘begin_payload’ not handled in switch [-Wswitch]
zwsdecoder.c:138:2: warning: enumeration value ‘payload’ not handled in switch [-Wswitch]
zwsdecoder.c:138:2: warning: enumeration value ‘error’ not handled in switch [-Wswitch]
zwsdecoder.c: In function ‘invoke_new_message’:
zwsdecoder.c:307:3: warning: pointer targets in passing argument 2 of ‘self->message_cb’ differ in signedness [-Wpointer-sign]
zwsdecoder.c:307:3: note: expected ‘byte *’ but argument is of type ‘char *’
zwsdecoder.c:310:3: warning: pointer targets in passing argument 2 of ‘self->close_cb’ differ in signedness [-Wpointer-sign]
zwsdecoder.c:310:3: note: expected ‘byte *’ but argument is of type ‘char *’
zwsdecoder.c:313:3: warning: pointer targets in passing argument 2 of ‘self->ping_cb’ differ in signedness [-Wpointer-sign]
zwsdecoder.c:313:3: note: expected ‘byte *’ but argument is of type ‘char *’
zwsdecoder.c:316:3: warning: pointer targets in passing argument 2 of ‘self->pong_cb’ differ in signedness [-Wpointer-sign]
zwsdecoder.c:316:3: note: expected ‘byte *’ but argument is of type ‘char *’
gcc  -std=gnu99  -Wall   -g   -c -o objs/zwshandshake.o -c zwshandshake.c
gcc  -std=gnu99  -Wall   -g   -c -o objs/zwssock.o -c zwssock.c
gcc -o zwstest -Wall -g -lczmq -lzmq   ./objs/main.o ./objs/zwsdecoder.o ./objs/zwshandshake.o ./objs/zwssock.o

Compilation finished at Fri Aug 22 16:18:31