aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxxrt
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2017-02-22 17:20:18 +0000
committerAndriy Gapon <avg@FreeBSD.org>2017-02-22 17:20:18 +0000
commita4806d2a62fb733970b96f438fedb929b564e08c (patch)
treecdd186dd2ec545e9ae7a6b12076dbd6991c11756 /lib/libcxxrt
parent465e69edca824b2c25d8b8dabc7fd9ac7a445531 (diff)
downloadsrc-a4806d2a62fb733970b96f438fedb929b564e08c.tar.gz
src-a4806d2a62fb733970b96f438fedb929b564e08c.zip
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
Notes
Notes: svn path=/head/; revision=314101
Diffstat (limited to 'lib/libcxxrt')
0 files changed, 0 insertions, 0 deletions