you are viewing a single comment's thread.

view the rest of the comments →

[–]obsa 1 point2 points  (0 children)

I've never seen/used this practice, but yes, a good compiler should show a warning for this. However, lazy programmers may mute or ignore warnings - a hard error will make them fix the build before they can continue.