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
See this for clarification. Strictly speaking, declaring a reserved identifier is undefined behavior, which means that as long as testlib does that, all checkers and validators have undefined behavior as well. I have not seen any problems with this in the wild so far (except for the famous), but the problem is here.
Some examples from testlib's code: _ok, _wa, __testlib_max.
I believe that the correct way of resolving this is to add a special namespace testlib and add a bunch of #defines to preserve backward compatibility.
The text was updated successfully, but these errors were encountered:
See this for clarification. Strictly speaking, declaring a reserved identifier is undefined behavior, which means that as long as testlib does that, all checkers and validators have undefined behavior as well. I have not seen any problems with this in the wild so far (except for the famous), but the problem is here.
Some examples from testlib's code:
_ok
,_wa
,__testlib_max
.I believe that the correct way of resolving this is to add a special namespace
testlib
and add a bunch of#define
s to preserve backward compatibility.The text was updated successfully, but these errors were encountered: