C style code in C++
Posted Sep 12, 2005 9:38 UTC (Mon) by
ajf (subscriber, #10844)
In reply to:
C style code in C++ by JoeBuck
Parent article:
A new Firefox buffer overflow
That's just broken. The C++ standard has been official for 7 years now, and the problems described in your quote are largely a thing of the past.
Well, the document quoted has been on mozilla.org since the project was released (so it may well be based on an internal Netscape document that's even older). Hey, that's 7 years ago too!
They probably could update it to take advantage of improvements in compilers since then. All they would need to do is divert time and resources away from developing Mozilla — you know, the reason they exist, that's all — to test compatibility with all the compilers they still care to support.
Can you be so smugly sure that it would be worth it?
(
Log in to post comments)