Windows is not alone in this regard. AIX uses a similar behaviour
http://publib.boulder.ibm.com/infocenter/comphelp/v7v91/topic/com.ibm.vacpp7a.doc/proguide/ref/compile_library.htm#compile_library
Remember not all UNIXes are made alike. :)
--
Paulo
On Tuesday, 10 April 2012 at 17:44:54 UTC, Jonathan M Davis wrote:
On Tuesday, April 10, 2012 19:36:06 deadalnix wrote:
On this newsgroup with Jonathan M Davis, we started discussing
export.
As it was off topic, and as it was interesting, I wish to
bring it here.
As most of you know, all symbol on posix systems are export,
but not on
windows. As D have an export keyword, the question is what to
do with it.
The need for change in the UNIX world of this behavior exists,
and some
move has been made in direction of explicitly hiding symbols (
see
http://gcc.gnu.org/wiki/Visibility ).
As I said in the other thread, I _hate_ export. It's one of
Windows largest
misfeatures IMHO. It drives me nuts when I have to deal with it
in C++. The
fact that Linux exports everything is _fantastic_. It's so much
easier to deal
with. I'd _hate_ to see Linux or anything we do move in the
direction of what
Windows has done.
- Jonathan M Davis