axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From byplayer <bypla...@s7.dion.ne.jp>
Subject Re[2]: [jira] Created: (AXISCPP-941) windows compilerarg
Date Thu, 02 Mar 2006 13:57:23 GMT
I fund one more problem on windows debug version .

On windows, and use xerces, link Xerces_xxD.lib . But ant
build link Xerces_xx.lib .

so add buildInitialize.xml following property

<target name="checkIfDebug" if="debug">
<if>
	<and>
		<isset property="windows"/>
		<equals arg1="${debug}" arg2="true" casesensitive="false"/>
	</and>
	<then>
		...
		<property name="HTTP.ChannelLibraryName_D" value="${HTTP.ChannelLibraryName}_D"/>
		
		<property name="xerces.xmlParserLibrary_D" value="${xerces.xmlParserLibrary}D"/>
		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

        ...
		<propertycopy property="HTTP.ChannelLibraryName" from="HTTP.ChannelLibraryName_D" override="true"/>
		
		<propertycopy property="xerces.xmlParserLibrary" from="xerces.xmlParserLibrary_D" override="true"/>
		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	</then>
</if>
</target>

On Wed, 1 Mar 2006 14:15:17 -0800
"Henrik Nordberg" <henrik.nordberg@jitterbit.com> wrote:

> It would good if this issue was fixed before releasing 1.6 Beta.
> As it is now, we can't debug on Windows because of this (VC++ reports 
> "invalid heap" when delete is called, probably because we (jitterbit) link 
> our debug libs with /MDd and Axis links debug code with /MD.
> 
> Thanks
>  - Henrik
> 
> ----- Original Message ----- 
> From: "Yukio Goto (JIRA)" <axis-c-dev@ws.apache.org>
> To: <axis-c-dev@ws.apache.org>
> Sent: Monday, February 27, 2006 9:05 AM
> Subject: [jira] Created: (AXISCPP-941) windows compilerarg
> 
> 
> windows compilerarg
> -------------------
> 
>          Key: AXISCPP-941
>          URL: http://issues.apache.org/jira/browse/AXISCPP-941
>      Project: Axis-C++
>         Type: Bug
>   Components: Build - ANT
>  Environment: Java 1.5.0_06 ctasks 1.0b3
>     Reporter: Yukio Goto
> 
> 
> buildInitialize.xml
> <compiler id="VisualC++" name="msvc" if="windows">
> <compilerarg value="/MD"/>
> <define name="_DEBUG" if="debug"/>
> <define name="NDEBUG" unless="debug"/>
> <compilerarg value="/Zi" if="debug"/>
> 
> is not work collect on Debug build .
> 
> I think /MD _DEBUG NDEBUG Zi option is automatically added
> by ctasks debug or not
> 
> so add debug property for compiler task
> and delete
> 
> <compiler id="VisualC++" name="msvc" if="windows" debug="${debug}" >
> 
> and delete that options
> 
> <compilerarg value="/MD"/>
> <define name="_DEBUG" if="debug"/>
> <define name="NDEBUG" unless="debug"/>
> <compilerarg value="/Zi" if="debug"/>
> 
> 
> -- 
> 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
> 
> 
> 
> 

----
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

          byplayer
          E-mail : byplayer@s7.dion.ne.jp

/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


Mime
View raw message