I suggest you ...

Do not show warning on a mixed comparison where one of the arguments is size_t and the other is ptrdiff_t

As suggested in CppCoreGuidelines: "(To avoid noise) Do not flag on a mixed signed/unsigned comparison where one of the arguments is sizeof or a call to container .size() and the other is ptrdiff_t." (https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#es107-dont-use-unsigned-for-subscripts-prefer-gslindex)

Please, do not show warning C4018 (https://msdn.microsoft.com/en-us/library/y92ktdf2.aspx) on level 3 (maybe even on level 4) for this case

3 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
KindDragon shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base