There are some gcc errors when building with TDM-gcc:
win_bpf_filter.c: In function 'bpf_filter':
win_bpf_filter.c:419:11: error: lvalue required as left operand of assignment
(int)A = -((int)A);
^
win_bpf_filter.c: In function 'bpf_filter_with_2_buffers':
win_bpf_filter.c:920:11: error: lvalue required as left operand of assignment
(int)A = -((int)A);
Not to speak about all the warnings :-)
This was my gcc 5.1 compile command:
There are some gcc errors when building with TDM-gcc:
Not to speak about all the warnings :-) This was my gcc 5.1 compile command: