Snippets for flex 2.6.4 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/flex/2.6.4_3/150amd64-default.log.
-
misc.c:515:40: warning: passing '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] 515 | esc_char = (unsigned char) strtoul (array + 1, NULL, 8); | ^~~~~~~~~ -
misc.c:537:40: warning: passing '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] 537 | esc_char = (unsigned char) strtoul (array + 2, NULL, 16); | ^~~~~~~~~ -
misc.c:515:40: warning: passing '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] 515 | esc_char = (unsigned char) strtoul (array + 1, NULL, 8); | ^~~~~~~~~ -
misc.c:537:40: warning: passing '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] 537 | esc_char = (unsigned char) strtoul (array + 2, NULL, 16); | ^~~~~~~~~