Re:GCC Non-bugs
by webreac on Sunday March 01, 2015 @01:13PM
(#9128187)
"Most C++ compilers (G++ included) do not yet implement export". For me, non compliance with such an old spec is a bug.
[ Parent
| on HN ]
There is a single C++ compiler that supports export. Out of all the C++ compilers, only a single one supports it. Mainly because it is such a HUGE pain in the ass to write support for.
See this paper as to why it was removed from the spec: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n142...
Re:GCC Non-bugs
by andrewchambers on Sunday March 01, 2015 @05:22PM
(#9129158)
Those guys had serious dedication to essentially waste 3 years implementing it, just to say how useless it is.
"John Spicer notes: “Any program written using export can be rearranged trivially into a program that doesn’t use export.”"
This makes me wonder why they couldn't have implemented this rearrangement as export...
Re:GCC Non-bugs
by andrewchambers on Sunday March 01, 2015 @07:36PM
(#9129650)
Probably trivially with some human judgment.
Re:GCC Non-bugs
by userbinator on Sunday March 01, 2015 @11:00PM
(#9130257)
That is a great counterpoint to this comment I saw recently:
It's more like export was a bug in C++98. It was removed without a deprecation period in C++11.
I didn't know. My last professional development in C++ was in 2002. At that time http://www.comeaucomputing.com/ was my reference.
Re:GCC Non-bugs
by GFK_of_xmaspast on Sunday March 01, 2015 @09:28PM
(#9129998)
Turns out a lot has changed in the c++ world in the last 15 years. (trigraphs are going away too)