diff options
Diffstat (limited to 'lib/iconv_open-hpux.h')
| -rw-r--r-- | lib/iconv_open-hpux.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/iconv_open-hpux.h b/lib/iconv_open-hpux.h index bae7bff6..0974ae4b 100644 --- a/lib/iconv_open-hpux.h +++ b/lib/iconv_open-hpux.h @@ -1,4 +1,4 @@ -/* ANSI-C code produced by gperf version 3.2 */ +/* ANSI-C code produced by gperf version 3.3 */ /* Command-line: gperf -m 10 iconv_open-hpux.gperf */ /* Computed positions: -k'4,$' */ @@ -177,6 +177,10 @@ static const struct stringpool_t stringpool_contents = }; #define stringpool ((const char *) &stringpool_contents) +#if (defined __GNUC__ && __GNUC__ + (__GNUC_MINOR__ >= 6) > 4) || (defined __clang__ && __clang_major__ >= 3) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wmissing-field-initializers" +#endif static const struct mapping mappings[] = { {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, @@ -269,6 +273,9 @@ static const struct mapping mappings[] = #line 53 "iconv_open-hpux.gperf" {(int)(size_t)&((struct stringpool_t *)0)->stringpool_str49, "cp1253"} }; +#if (defined __GNUC__ && __GNUC__ + (__GNUC_MINOR__ >= 6) > 4) || (defined __clang__ && __clang_major__ >= 3) +#pragma GCC diagnostic pop +#endif const struct mapping * mapping_lookup (register const char *str, register size_t len) @@ -289,5 +296,5 @@ mapping_lookup (register const char *str, register size_t len) } } } - return 0; + return (struct mapping *) 0; } |
