#19 __EXPORT problem in pointer.h

Common_Libraries
closed
David Sugar
Library (32)
5
2006-05-25
2006-04-13
Yan Morin
No

The bugs is also reported there:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=360492

Adding this code in cc++2/pointer.h before namespace ost{

45a46,49
> #ifndef CCXX_MISSING_H_
> #include <cc++/missing.h>
> #endif
>

solve the problem because __EXPORT is defined in
cc++/config.h (included in cc++/missing.h)

CVS File history:
http://cvs.sourceforge.net/viewcvs.py/gnutelephony/testing/commoncpp2/template/pointer.h

Discussion

  • Logged In: NO

    This will be resolved in 1.4.0. The short answer is that
    templates will no longer export again. The real issue is MS
    compilers are broken for templates in dll's. What we will
    do is explicitly instanciate templates redeclared with dll
    interfaces in the dll's that they are used in, rather than
    in the original template header.

     
  • David Sugar
    David Sugar
    2006-05-25

    Logged In: YES
    user_id=217

    This is fixed in the 1.4.x releases.

     
  • David Sugar
    David Sugar
    2006-05-25

    • status: open --> closed
    • assigned_to: nobody --> dyfet