]> granicus.if.org Git - gc/commit
Workaround 'AST broken' syntax error reported by cppcheck in GC_mark_some
authorIvan Maidanski <ivmai@mail.ru>
Fri, 9 Nov 2018 08:35:37 +0000 (11:35 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 9 Nov 2018 08:38:40 +0000 (11:38 +0300)
commitff278e28856968dbec3df4f015dc9b9a8bb0a080
tree2311d0f41abd207297a52b3cb299c58896c08f8e
parent6089f66e83a75b6290392ee5501bc713a5f8d7bf
Workaround 'AST broken' syntax error reported by cppcheck in GC_mark_some

Cppcheck does not support GNU-specific "&&label" syntax currently.

* mark.c [WRAP_MARK_SOME && (MSWIN32 || MSWINCE) && __GNUC__
&& !GC_GNUC_PREREQ(4,7) && !GC_CLANG_PREREQ(3,3)] (GC_mark_some): Skip
"er.alt_path=&&handle_ex" statement if CPPCHECK.
mark.c