WARNING: [license.mk] Every package should define a LICENSE. ===> Building for pakemon-0.3.1nb12 clang -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include/libnet10 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -Wall -DLIBNET_LIL_ENDIAN -c pakemon.c pakemon.c:586:43: warning: cast to smaller integer type 'u_char' (aka 'unsigned char') from 'void *' [-Wvoid-pointer-to-int-cast] *( capital + ip_packet->payload_len ) = (u_char)NULL; ^~~~~~~~~~~~ pakemon.c:718:9: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] letter = ip_packet->payload + i; ^ ~~~~~~~~~~~~~~~~~~~~~~ pakemon.c:765:10: warning: passing 'u_char [4]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(tmp_buff, "%2x ", *letter); ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~ pakemon.c:766:9: warning: passing 'u_char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(bin_buff, tmp_buff); ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:27: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ pakemon.c:766:19: warning: passing 'u_char [4]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(bin_buff, tmp_buff); ^~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ pakemon.c:769:13: warning: passing 'u_char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncat( text_buff, letter, 1); ^~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:143:28: note: expanded from macro 'strncat' __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ pakemon.c:769:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncat( text_buff, letter, 1); ^~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:143:34: note: expanded from macro 'strncat' __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ pakemon.c:771:13: warning: passing 'u_char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncat( text_buff, ".", 1); ^~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_string.h:143:28: note: expanded from macro 'strncat' __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ 8 warnings generated. clang -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include/libnet10 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -Wall -DLIBNET_LIL_ENDIAN -c util.c clang -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include/libnet10 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -Wall -DLIBNET_LIL_ENDIAN -c signature.c signature.c:138:63: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( re_err = (char *)re_compile_pattern( pattern, strlen( pattern ),&(new_node->reg_pattern))){ ^~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ signature.c:138:46: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( re_err = (char *)re_compile_pattern( pattern, strlen( pattern ),&(new_node->reg_pattern))){ ^~~~~~~ ./regex.h:410:26: note: passing argument to parameter 'pattern' here _RE_ARGS ((const char *pattern, int length, ^ signature.c:138:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( re_err = (char *)re_compile_pattern( pattern, strlen( pattern ),&(new_node->reg_pattern))){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ signature.c:138:16: note: place parentheses around the assignment to silence this warning if( re_err = (char *)re_compile_pattern( pattern, strlen( pattern ),&(new_node->reg_pattern))){ ^ ( ) signature.c:138:16: note: use '==' to turn this assignment into an equality comparison if( re_err = (char *)re_compile_pattern( pattern, strlen( pattern ),&(new_node->reg_pattern))){ ^ == signature.c:736:6: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] (char)NULL ); ^~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ signature.c:743:6: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] (char)NULL ); ^~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ signature.c:802:17: warning: cast to smaller integer type 'u_char' (aka 'unsigned char') from 'void *' [-Wvoid-pointer-to-int-cast] *sig_writer = (u_char)NULL; ^~~~~~~~~~~~ signature.c:733:4: warning: 'sprintf' will always overflow; destination buffer has size 3, but format string expands to at least 4 [-Wfortify-source] sprintf( bin_buffer, "%c%c%c", ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:3: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ signature.c:840:10: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] (char)NULL ); ^~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ signature.c:847:10: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] (char)NULL ); ^~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ signature.c:837:8: warning: 'sprintf' will always overflow; destination buffer has size 3, but format string expands to at least 4 [-Wfortify-source] sprintf( bin_buffer, "%c%c%c", ^ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:3: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ signature.c:885:11: warning: initializing 'u_char *' (aka 'unsigned char *') with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] u_char *payload = (char *)NULL; ^ ~~~~~~~~~~~~ signature.c:911:6: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ip_packet->payload, ^~~~~~~~~~~~~~~~~~ ./regex.h:426:60: note: passing argument to parameter 'string' here _RE_ARGS ((struct re_pattern_buffer *buffer, const char *string, ^ signature.c:922:39: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if( ((*c_tree_index)->pattern_len == 0) ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ signature.c:922:39: note: remove extraneous parentheses around the comparison to silence this warning if( ((*c_tree_index)->pattern_len == 0) ) ~ ^ ~ signature.c:922:39: note: use '=' to turn this equality comparison into an assignment if( ((*c_tree_index)->pattern_len == 0) ) ^~ = 13 warnings generated. clang -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include/libnet10 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -Wall -DLIBNET_LIL_ENDIAN -c interface.c interface.c:48:21: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] device_name = pcap_lookupdev( errbuf ); ^ /Users/pbulk/build/security/pakemon/work/.buildlink/include/pcap/pcap.h:443:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") ^ /Users/pbulk/build/security/pakemon/work/.buildlink/include/pcap/funcattrs.h:327:47: note: expanded from macro 'PCAP_DEPRECATED' #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) ^ 1 warning generated. clang -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include/libnet10 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -Wall -DLIBNET_LIL_ENDIAN -c match.c match.c:93:12: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Wimplicit-function-declaration] if( !memcmp( i_data, pattern, pattern_length ) ) ^ match.c:93:12: note: include the header or explicitly provide a declaration for 'memcmp' match.c:203:22: warning: result of comparison of constant 256 with expression of type 'u_char' (aka 'unsigned char') is always false [-Wtautological-constant-out-of-range-compare] if( pattern_length > MAX_PATTERN_SIZE) ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ 2 warnings generated. clang -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include/libnet10 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -Wall -DLIBNET_LIL_ENDIAN -c tcp.c tcp.c:75:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [25]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ip_packet.payload = "[CONNECTION ESTABLISHED]"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ tcp.c:77:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ip_packet.payload_len = strlen( ip_packet.payload ); ^~~~~~~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ tcp.c:126:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [20]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ip_packet.payload = "[CONNECTION CLOSED]"; ^ ~~~~~~~~~~~~~~~~~~~~~ tcp.c:128:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ip_packet.payload_len = strlen(ip_packet.payload); ^~~~~~~~~~~~~~~~~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ tcp.c:166:25: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ip_packet.payload = hlf->data; ^ ~~~~~~~~~ tcp.c:170:31: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ip_packet.endof_payload = hlf->data + a_tcp->read; ^ ~~~~~~~~~~~~~~~~~~~~~~~ tcp.c:245:43: warning: cast to smaller integer type 'u_char' (aka 'unsigned char') from 'void *' [-Wvoid-pointer-to-int-cast] *( capital + ip_packet->payload_len ) = (u_char)NULL; ^~~~~~~~~~~~ 7 warnings generated. clang -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include/libnet10 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -Wall -DLIBNET_LIL_ENDIAN -c udp.c clang -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include/libnet10 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -Wall -DLIBNET_LIL_ENDIAN -c icmp.c cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /opt/pkg/bin/mksh ./config.status creating config.h config.h is unchanged clang -DHAVE_CONFIG_H -I. -I. -I. -I/opt/pkg/include/libnet10 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -Wall -DLIBNET_LIL_ENDIAN -c regex.c regex.c:2865:33: warning: expression which evaluates to zero treated as a null pointer constant of type 'regoff_t *' (aka 'int *') [-Wnon-literal-null-conversion] regs->start = regs->end = (regoff_t) 0; ^~~~~~~~~~~~ regex.c:3796:31: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] if ((int) old_regend[r] >= (int) regstart[r]) ^~~~~~~~~~~~~~~~~~~ regex.c:3796:54: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] if ((int) old_regend[r] >= (int) regstart[r]) ^~~~~~~~~~~~~~~~~ regex.c:3802:19: warning: cast to 'fail_stack_elt_t' (aka 'const unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (p1 + mcnt, d, -2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2438:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (lowest_active_reg); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2359:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^~~~~~~~~~~~~~~~~~~~~~~ regex.c:3802:19: warning: cast to 'fail_stack_elt_t' (aka 'const unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (p1 + mcnt, d, -2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2441:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (highest_active_reg); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2359:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^~~~~~~~~~~~~~~~~~~~~~~ regex.c:3949:11: warning: cast to 'fail_stack_elt_t' (aka 'const unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (p + mcnt, NULL, -2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2438:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (lowest_active_reg); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2359:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^~~~~~~~~~~~~~~~~~~~~~~ regex.c:3949:11: warning: cast to 'fail_stack_elt_t' (aka 'const unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (p + mcnt, NULL, -2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2441:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (highest_active_reg); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2359:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^~~~~~~~~~~~~~~~~~~~~~~ regex.c:4002:11: warning: cast to 'fail_stack_elt_t' (aka 'const unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (p + mcnt, d, -2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2438:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (lowest_active_reg); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2359:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^~~~~~~~~~~~~~~~~~~~~~~ regex.c:4002:11: warning: cast to 'fail_stack_elt_t' (aka 'const unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (p + mcnt, d, -2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2441:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (highest_active_reg); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2359:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^~~~~~~~~~~~~~~~~~~~~~~ regex.c:4108:13: warning: cast to smaller integer type 'unsigned int' from 'fail_stack_elt_t' (aka 'const unsigned char *') [-Wpointer-to-int-cast] POP_FAILURE_POINT (sdummy, pdummy, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2526:14: note: expanded from macro 'POP_FAILURE_POINT' high_reg = (unsigned) POP_FAILURE_ITEM (); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:4108:13: warning: cast to smaller integer type 'unsigned int' from 'fail_stack_elt_t' (aka 'const unsigned char *') [-Wpointer-to-int-cast] POP_FAILURE_POINT (sdummy, pdummy, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2529:13: note: expanded from macro 'POP_FAILURE_POINT' low_reg = (unsigned) POP_FAILURE_ITEM (); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:4104:28: warning: variable 'pdummy' set but not used [-Wunused-but-set-variable] unsigned char *pdummy; ^ regex.c:4105:25: warning: variable 'sdummy' set but not used [-Wunused-but-set-variable] const char *sdummy; ^ regex.c:4141:11: warning: cast to 'fail_stack_elt_t' (aka 'const unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (0, 0, -2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2438:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (lowest_active_reg); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2359:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^~~~~~~~~~~~~~~~~~~~~~~ regex.c:4141:11: warning: cast to 'fail_stack_elt_t' (aka 'const unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (0, 0, -2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2441:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (highest_active_reg); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2359:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^~~~~~~~~~~~~~~~~~~~~~~ regex.c:4154:11: warning: cast to 'fail_stack_elt_t' (aka 'const unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (0, 0, -2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2438:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (lowest_active_reg); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2359:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^~~~~~~~~~~~~~~~~~~~~~~ regex.c:4154:11: warning: cast to 'fail_stack_elt_t' (aka 'const unsigned char *') from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] PUSH_FAILURE_POINT (0, 0, -2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2441:5: note: expanded from macro 'PUSH_FAILURE_POINT' PUSH_FAILURE_ITEM (highest_active_reg); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2359:42: note: expanded from macro 'PUSH_FAILURE_ITEM' fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item ^~~~~~~~~~~~~~~~~~~~~~~ regex.c:4322:11: warning: cast to smaller integer type 'unsigned int' from 'fail_stack_elt_t' (aka 'const unsigned char *') [-Wpointer-to-int-cast] POP_FAILURE_POINT (d, p, ^~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2526:14: note: expanded from macro 'POP_FAILURE_POINT' high_reg = (unsigned) POP_FAILURE_ITEM (); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex.c:4322:11: warning: cast to smaller integer type 'unsigned int' from 'fail_stack_elt_t' (aka 'const unsigned char *') [-Wpointer-to-int-cast] POP_FAILURE_POINT (d, p, ^~~~~~~~~~~~~~~~~~~~~~~~ regex.c:2529:13: note: expanded from macro 'POP_FAILURE_POINT' low_reg = (unsigned) POP_FAILURE_ITEM (); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 warnings generated. clang -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/libnet10 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -Wall -DLIBNET_LIL_ENDIAN -L/opt/pkg/lib -L/opt/pkg/lib -lglib-2.0 -lgthread-2.0 -L/opt/pkg/lib/libnet10 -L/opt/pkg/lib -L/opt/pkg/lib/libnet10 -L/opt/pkg/lib -o pakemon pakemon.o util.o signature.o interface.o match.o tcp.o udp.o icmp.o regex.o -L/opt/pkg/lib -lnids -L/opt/pkg/lib/libnet10 -lnet -L/opt/pkg/lib -lpcap