4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00
avg 3abc66ec6b don't use C99 static array indices with older GCC versions
For example, the FreeBSD GCC (4.2.1) has a spotty support for that
feature.  If the static keyword is used with an unnamed array parameter
in a function declaration, then the compilation fails with:
error: static or type qualifiers in abstract declarator

The feature does work if the parameter is named.
So, the restriction introduced in this commit can be removed when all
affected function prototypes have the workaround.

MFC after:	1 week
Sponsored by:	Panzura
2017-04-04 11:44:03 +02:00
..
2016-04-04 10:25:27 -05:00
2017-03-22 10:03:45 +01:00
2016-03-17 21:08:56 -05:00
2015-08-27 12:50:25 +02:00
2015-07-06 14:58:51 -05:00
2017-03-22 10:03:45 +01:00
2016-11-22 14:21:35 +01:00
2016-03-17 21:09:01 -05:00
2016-10-25 16:24:05 +02:00
2016-08-12 11:43:14 -05:00
2017-03-22 10:03:45 +01:00
2017-03-22 10:03:45 +01:00
2016-04-04 10:25:29 -05:00
2017-03-22 10:03:45 +01:00
2017-03-22 10:03:45 +01:00
2017-03-22 10:03:45 +01:00