These warnings should be eliminated in order to make compilation readable:
CC (gcc) [M ipops.so] ip_parser.o ip_parser.c:18:18: warning: 'ip_parser_en_main' defined but not used [-Wunused-const-variable=] static const int ip_parser_start = 1; ^~~~~~~~~~~~~~~~~ ip_parser.c:16:18: warning: 'ip_parser_error' defined but not used [-Wunused-const-variable=]
^ ip_parser.c:15:18: warning: 'ip_parser_first_final' defined but not used [-Wunused-const-variable=] /** Data **/ ^ CC (gcc) [M ipops.so] rfc1918_parser.o rfc1918_parser.c:19:18: warning: 'rfc1918_parser_en_main' defined but not used [-Wunused-const-variable=] static const int rfc1918_parser_en_main = 1; ^~~~~~~~~~~~~~~~~~~~~~ rfc1918_parser.c:17:18: warning: 'rfc1918_parser_error' defined but not used [-Wunused-const-variable=] static const int rfc1918_parser_error = 0; ^~~~~~~~~~~~~~~~~~~~ rfc1918_parser.c:16:18: warning: 'rfc1918_parser_first_final' defined but not used [-Wunused-const-variable=] static const int rfc1918_parser_first_final = 28; ^~~~~~~~~~~~~~~~~~~~~~~~~~
Regenerated with later ragel version didn't change anything, so I removed them manually to get the compilation clean.
Closed #1074.