]> granicus.if.org Git - gc/commit
Suppress 'taking address of label non-standard' GCC/Clang pedantic warning
authorIvan Maidanski <ivmai@mail.ru>
Fri, 25 Nov 2016 11:10:37 +0000 (14:10 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 27 Nov 2016 07:15:54 +0000 (10:15 +0300)
commitb43d92884744d2114f4980daa66ae6e92e0af951
treebf6ff6ff002d08c131d98a458177d7cc449a8515
parent8ce0d776b40978e838c39258292d25766a557a57
Suppress 'taking address of label non-standard' GCC/Clang pedantic warning

* mark.c [WRAP_MARK_SOME && __GNUC__ && (MSWIN32 || MSWINCE)]
(GC_mark_some): Use pragma "GCC diagnostic ignored" to temporarily
suppress gcc 4.7+ "taking the address of a label is non-standard"
(and clang 3.3+ "use of GNU address-of-label extension") warnings for
"&&handle_ex" expression.
mark.c