]> 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>
Fri, 25 Nov 2016 11:10:37 +0000 (14:10 +0300)
commit84c03130280c7c4c44b8585a1ae44d5afe996684
treecab68708e4ad08ccef27f5ba80cc2ca71b6f0363
parent7f82ed2046cbc4bb594e7c2162d40c819daee111
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 "taking the address of a label is non-standard" (or
"use of GNU address-of-label extension" in case of Clang) warning for
"&&handle_ex" expression.
mark.c