www.digitalmars.com         C & C++   DMDScript  

c++.beta - [bug 8.49.2] link/lib bug

Walter attached sample shows the problem.
Compiling goes fine but linking causes problems.

Basically boils down to this:

-------------free.hpp-----------------------
namespace test
{
inline void  some_free_func ()
{
    static std::string ( "Default String" );
    ^^^^^^<-- link problem!
    ...
    ...
}
)
-------------free.hpp-----------------------


Arjan
Jul 07 2006