Cevelop / Issues

The official issue tracker for Cevelop.
9 stars 1 forks source link

CStylechecker checks for endl in the Missing standard include checker #63

Closed PeterSommerlad closed 6 years ago

PeterSommerlad commented 6 years ago

Expected Behavior

want to individually allow std::endl usage.

Actual Behavior

S marker complains, but can not opt out of the check. From twiddling with the Codan properties i found that "Missing Standard Include" is turning it off.

Cevelop Version, Operating System and Compiler

recent as of today.

PeterSommerlad commented 6 years ago

oh, it was complaining the missing header really, not the use of endl.

tcorbat commented 6 years ago

That's an issue that we could look into when stream includes are improved in general, as an extra ostream include wasn't necessary if you had other stream includes, like iostream.

On Nov 10, 2017 21:52, "Peter Sommerlad" notifications@github.com wrote:

oh, it was complaining the missing header really, not the use of endl.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Cevelop/Issues/issues/63#issuecomment-343582792, or mute the thread https://github.com/notifications/unsubscribe-auth/ADScQcHCj7HS1bJzG_0gWdHEJjxIwPS5ks5s1LemgaJpZM4QaF9V .