From: Martin Sebor [mailto:[EMAIL PROTECTED] To: stdcxx-dev@incubator.apache.org Subject: Re: _RWSTD_LIB_SRC macro is not #defined in src/export.cpp
Farid Zaripov wrote: >> I've found that _RWSTD_LIB_SRC macro is not #defined in src/export.cpp >> file. >> >> This is a mistake, or it's required by design? > The file is currently only used when compiling with EDG eccp when > exported templates are enabled. I don't think (but I'm not 100% > sure) we want to #define _RWSTD_LIB_SRC in this case because the > effect is to #define _RWSTD_NO_TEMPLATE_DEFINITIONS. If so, I think it would be more correctly to #define _RWSTD_LIB_SRC and also #define _RWSTD_INSTANTIATE_TEMPLATES. The #define _RWSTD_LIB_SRC in every library src file is needed for the implementing the autolinking feature on MSVC. Farid.