Everybody did this, the implementations all allowed it, but the standard said you couldn't rely upon it.
So they fixed the standard, introducing in C99 a way to explicitly ask for what everyone wanted here, and adding text insisting that implementations do what the developers expect in that case.
Not every case can or should be treated this way, but it's a useful option. When the conflict is between reality and the standard, consider altering the standard.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds