You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test.cpp:4: Using C-style cast. Use reinterpret_cast<void *>(...) instead [readability/casting] [4]
In cpplint.py here there is already a case to cover this. But the problem is that this condition only gets checked if the line ends (among other things) with the character {, as you can see here.
I'm guessing there has been no patch for this issue. I'd suggest the C workaround for anyone that encounters this issue, to get the build without warnings and get cpplint to pass.
In the following file:
Cpplint returns:
In cpplint.py here there is already a case to cover this. But the problem is that this condition only gets checked if the line ends (among other things) with the character
{
, as you can see here.So that case would be correctly caught if we use
but then of course we get an error about the position of the braces.
The text was updated successfully, but these errors were encountered: