8

Failing to return a value in a function result in a warning in gcc. Why isn't this considered an extremely dangerous error?

Comments
  • 0
    What about undefined reference? You use a function that doesn't exist and the compiler just warns you about it. A code breaking thing like this must be an error.
Add Comment