should be visible, when it can't figure out macro args or type, cppcheck writes smth like "unknown macro", there just syntax error, so i guess it's a mistake in tool code, anyway, i just wanted to report this problem, y can google xray 2 engine 2011 or search here to test codes: g i t h u b . co m/tsnest/xray-2-2011/tree/main
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Such kind of codes produce syntax error in complex c++ projects, i hope it can be fixed.
Is the definition of
R_ASSERT_CMP_T
visible to cppcheck?Yes, no difference, it produce syntax error.
I just see more macros. Are those visible as well?
You might want to look at cppcheck's preprocessor output (
-E
).should be visible, when it can't figure out macro args or type, cppcheck writes smth like "unknown macro", there just syntax error, so i guess it's a mistake in tool code, anyway, i just wanted to report this problem, y can google xray 2 engine 2011 or search here to test codes: g i t h u b . co m/tsnest/xray-2-2011/tree/main