change the definition of FOLLY_MAYBE_UNUSED
authorVictor Gao <vgao@fb.com>
Wed, 19 Jul 2017 23:24:54 +0000 (16:24 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 19 Jul 2017 23:35:48 +0000 (16:35 -0700)
commit4b807f9ef3410b33923c6575cc57a667eeb53a76
treea6cf035c3489ca6eb92c1ed05c0ed1dc64cc0c9b
parent74102328f60e450de7d1dab40d1772f82549fd96
change the definition of FOLLY_MAYBE_UNUSED

Summary:
Currently gcc does not support attributes declared using square brackets well and some builds might break because of this.

Since `__attribute__((...))` works for both clang and gcc, we should switch to it for now.

Reviewed By: yfeldblum

Differential Revision: D5456734

fbshipit-source-id: d7a8bf1389afc5d60604f22d37c93611dc46259c
folly/CppAttributes.h