dllexport warnings
------------------

         Key: AXISCPP-905
         URL: http://issues.apache.org/jira/browse/AXISCPP-905
     Project: Axis-C++
        Type: Bug
  Components: Client - API  
    Versions: 1.6 Alpha    
 Environment: WIN2KSP4 JDK1.5.0_06 MSVC6SP6
    Reporter: Franz Fehringer
    Priority: Minor


In GDefine.hpp

#if defined(WIN32) 
#define STORAGE_CLASS_INFO __declspec(dllexport)
#else
#define STORAGE_CLASS_INFO 
#endif

should be changed to something like

#if defined(WIN32) && defined (AXIS_DLLEXPORT)
#define STORAGE_CLASS_INFO __declspec(dllexport)
#else
#define STORAGE_CLASS_INFO 
#endif

where AXIS_DLLEXPORT is only defined while compiling the client lib itself.
Currently warnings and extraneous .lib and .exp files are generated.
An analogous change should be made to GDefine.h.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to