by dools · 15y ago · 0 comments
(Correctly arguing he is right, then reasonably rebutting this argument, is an exercise for the reader.)
This feature has only been with us as part of the standard since 1999, which in geological terms is merely the blink of an eye. I imagine this is why so many people seem not to know about it.
I mean, if this is a reason not to use C++ style comments, then it seems like a very weak one of many reasons not to use C++, I don't think that was intended.
So I guess most of the C compilers for the target microcontrollers we were working with in later courses would have used the C89 standard
warning: C++ style comments are not allowed in ISO C90 [enabled by default]
Might be worth noting at this point since I'll already halfway though the GCC manpage again, that -Wcomments seems to be exactly for the sort of situation the author of the article found himself in.