You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2006/10/16 11:19:35 UTC
[jira] Closed: (AXIS2C-167) Axis2C 0.91 warnings on windows
[ http://issues.apache.org/jira/browse/AXIS2C-167?page=all ]
Samisa Abeysinghe closed AXIS2C-167.
------------------------------------
Fix Version/s: 0.95
Resolution: Fixed
This has been fixed in some release prior to 0.94
> Axis2C 0.91 warnings on windows
> -------------------------------
>
> Key: AXIS2C-167
> URL: http://issues.apache.org/jira/browse/AXIS2C-167
> Project: Axis2-C
> Issue Type: Bug
> Components: platforms/windows
> Environment: windows
> Reporter: Ed Slattery
> Priority: Minor
> Fix For: 0.95
>
>
> When building on windows, I get lots of warnings because data is declared declspec(export) or (import). I am not sure why you do this, as removing the declaration in axis2_defines fixes the warnings, and apparently has no adverse effects:
> These are the warnings:
> axis2_thread_pool.h(91) : warning C4091: '__declspec(dllimport ) ' : ignored on left of 'struct axis2_thread_pool_ops' when no variable is declared
> This is a part of axis2_defines with the fix:
> #define AXIS2_DECLARE(type) type AXIS2_CALL
> #define AXIS2_DECLARE_NONSTD(type) type
> #define AXIS2_DECLARE_DATA
> #elif defined(AXIS2_DECLARE_EXPORT)
> #define AXIS2_DECLARE(type) AXIS2_EXPORT type AXIS2_CALL
> #define AXIS2_DECLARE_NONSTD(type) AXIS2_EXPORT type
> #define AXIS2_DECLARE_DATA /*AXIS2_EXPORT <<<<<<<<<<<<<<<<<<<<<<<<*/
> #else
> #define AXIS2_DECLARE(type) AXIS2_IMPORT type AXIS2_CALL
> #define AXIS2_DECLARE_NONSTD(type) AXIS2_IMPORT type
> #define AXIS2_DECLARE_DATA /*AXIS2_IMPORT <<<<<<<<<<<<<<<<<<<<<<<*/
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org