Extend the -Warray-bounds workaround in FixedString.h to gcc-5.
authorEric Niebler <eniebler@fb.com>
Thu, 8 Jun 2017 19:47:55 +0000 (12:47 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 8 Jun 2017 19:52:07 +0000 (12:52 -0700)
commit16f34c7d5024564897bd4ab6ca9b6725747c2ea6
tree86d6cfa249f86ccc68cea87d858bd07f08f81fde
parent7c9e64a0cf44be563abdad056e45e8268e99ee0a
Extend the -Warray-bounds workaround in FixedString.h to gcc-5.

Summary: FixedString.h has a workaround for a gcc bug regarding erroneous -Werror=array-bounds errors. This commit extends the workaround to the gcc-5 series, which sadly is still broken. Life gets better with gcc-6.

Reviewed By: luciang

Differential Revision: D5210633

fbshipit-source-id: 4fcf080d18ddc573636a3e58b61a97167a8c06ce
folly/FixedString.h