This change set increases the portability of the C code - to compilers other than GCC - by avoiding post-1989 features of the C language definition. Yes: 18 years later and they STILL haven't caught up.
I haven't committed this to my repo yet, I'd like to know what folks think.
Personally, I'd rather be coding in C++, where mixed declarations and statements are OK. They make a lot of sense. Problem is that most compilers except GCC are, well, behind the times.
The no-c++ comments thing is important programmer psychology. It provides the reader with an almost subliminal clue that they are dealing with C, and not anything else.
Log in to post a comment.