Re: [cfe-users] -Warray-bounds

2018-12-31 Thread David Blaikie via cfe-users
Supporting the oldest form doesn't seem to be a priority for a warning - if you have a very old codebase, probably not worth building it with warnings enabled. Updating code to use more modern/idiomatic forms is within scope for Clang's warnings, within reason, I think. - Dave On Fri, Dec 28, 201

[cfe-users] -Warray-bounds

2018-12-27 Thread Jay K via cfe-users
This is an old topic: http://clang-developers.42468.n3.nabble.com/Warray-bounds-seems-over-zealous-on-Clang-td3162669.html But some points were left not covered. 1. "code hygiene" I'd say is that, the code should just be portable to "all" compilers, and have the same meaning with all of them, wi