Building the whole Debian archive with GCC 4.1: a summary
Posted Mar 29, 2006 5:22 UTC (Wed) by
butlerm (subscriber, #13312)
In reply to:
Building the whole Debian archive with GCC 4.1: a summary by foo-bar
Parent article:
Building the whole Debian archive with GCC 4.1: a summary
This is not something that just accidentally happened to work. The ISO C++ standard was not released until 1998. C++ had a 15 year history prior to that, and taking the offset of a class member was universally portable prior to that time.
But somehow, perhaps in a fit of Java envy, the ISO C++ folks decided that the C++ language should define an virtual abstraction far removed from its origins as a system programming language, and forbade perfectly well defined behavior. Not just declared the result to be "undefined" as sane standards bodies are wont to do, but forbade its use outright, breaking a large body of existing code.
And as one might expect, there is now speculation that the next version of the ISO C++ standard will remove this ridiculously pointless restriction.
(
Log in to post comments)