News for hackers. Stuff that matters.
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.
Re:GCC Non-bugs by X-Istence on Sunday March 01, 2015 @01:33PM (#9128283)
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.
Re:GCC Non-bugs by Retra on Sunday March 01, 2015 @06:00PM (#9129300)
"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:

https://news.ycombinator.com/item?id=9126237

Re:GCC Non-bugs by Sharlin on Sunday March 01, 2015 @01:17PM (#9128200)
It's more like export was a bug in C++98. It was removed without a deprecation period in C++11.
Re:GCC Non-bugs by webreac on Sunday March 01, 2015 @03:24PM (#9128728)
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)