__extension__ can be put in front of expressions
authorDamien Lespiau <damien.lespiau@intel.com>
Sat, 26 Dec 2009 14:32:20 +0000 (15:32 +0100)
committerJohan Dahlin <johan@gnome.org>
Thu, 31 Dec 2009 14:58:03 +0000 (15:58 +0100)
commitb20b019737118778666b1b9b75ea5d33b7880d58
tree6dd67246e151a6c39e13d6e63c2a86affd56a0c2
parent0057bd81165e93b1cfd2b350759766ecb9140e36
__extension__ can be put in front of expressions

glib uses __extension__ in macros dealing with 64 bits integer such as
GUINT64_SWAP_LE_BE().

To quote the GCC manual:
  `-pedantic' and other options cause warnings for many GNU C extensions.  You
  can prevent such warnings within one expression by writing `__extension__'
  before the expression.

https://bugzilla.gnome.org/show_bug.cgi?id=605779
giscanner/scannerparser.y