glibc/iconv
Aurelien Jarno 0623b9e6a9 gconv.h: fix build with GCC 7
gconv.h is using a flex array to define the __gconv_info member in an
invalid way, causing GCC 7 to issue an error:

| In file included from ../include/gconv.h:1:0,
|                  from ../sysdeps/unix/sysv/linux/_G_config.h:32,
|                  from ../libio/libio.h:31,
|                  from ../include/libio.h:4,
|                  from ../libio/stdio.h:74,
|                  from ../include/stdio.h:5,
|                  from test-math-isinff.cc:22:
| ../iconv/gconv.h:142:50: error: flexible array member '__gconv_info::__data' not at end of 'struct _IO_codecvt'
| In file included from ../include/libio.h:4:0,
|                  from ../libio/stdio.h:74,
|                  from ../include/stdio.h:5,
|                  from test-math-isinff.cc:22:
| ../libio/libio.h:211:14: note: next member '_G_iconv_t _IO_codecvt::__cd_out' declared here
| ../libio/libio.h:187:8: note: in the definition of 'struct _IO_codecvt'
| In file included from ../include/gconv.h:1:0,
|                  from ../sysdeps/unix/sysv/linux/_G_config.h:32,
|                  from ../libio/libio.h:31,
|                  from ../include/libio.h:4,
|                  from ../libio/stdio.h:74,
|                  from ../include/stdio.h:5,
|                  from test-math-isinff.cc:22:
| ../iconv/gconv.h:142:50: error: flexible array member '__gconv_info::__data' not at end of 'struct _IO_wide_data'
| In file included from ../include/libio.h:4:0,
|                  from ../libio/stdio.h:74,
|                  from ../include/stdio.h:5,
|                  from test-math-isinff.cc:22:
| ../libio/libio.h:211:14: note: next member '_G_iconv_t _IO_codecvt::__cd_out' declared here
| ../libio/libio.h:215:8: note: in the definition of 'struct _IO_wide_data'

This is basically a revert to the code from 15 years ago. More details
are available in the GCC bug:
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78039

Changelog:
	* iconv/gconv.h (__gconv_info): Define __data element using a
	zero-length array.
2016-11-06 21:33:10 +01:00
..
dummy-repertoire.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gconv_builtin.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gconv_builtin.h Fix min/max needed for ascii to INTERNAL conversion 2016-03-07 17:47:50 +01:00
gconv_cache.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gconv_charset.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gconv_close.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gconv_conf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gconv_db.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gconv_dl.c Fix build failures with -DDEBUG. 2016-01-15 11:07:41 -07:00
gconv_int.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gconv_open.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gconv_simple.c Fix UTF-16 surrogate handling. [BZ #19727] 2016-05-25 17:18:06 +02:00
gconv_trans.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gconv.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
gconv.h gconv.h: fix build with GCC 7 2016-11-06 21:33:10 +01:00
iconv_charmap.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
iconv_close.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
iconv_open.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
iconv_prog.c Update copyright dates not handled by scripts/update-copyrights. 2016-01-04 16:26:30 +00:00
iconv_prog.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
iconv.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
iconv.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
iconvconfig.c Update copyright dates not handled by scripts/update-copyrights. 2016-01-04 16:26:30 +00:00
iconvconfig.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
loop.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Makefile Fix ucs4le_internal_loop in error case. [BZ #19726] 2016-05-25 17:18:06 +02:00
skeleton.c Fix build errors with -DNDEBUG. 2016-01-15 10:44:07 -07:00
strtab.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-iconv1.c Modify several tests to use test-skeleton.c 2014-11-05 15:24:08 +05:30
tst-iconv2.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-iconv3.c Convert tst-iconv3 to use test-skeleton. 2015-02-25 16:01:13 -08:00
tst-iconv4.c
tst-iconv5.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
tst-iconv6.c Fix ucs4le_internal_loop in error case. [BZ #19726] 2016-05-25 17:18:06 +02:00
Versions Complete the removal of __gconv_translit_find 2014-09-12 09:17:32 +02:00