axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yukio Goto (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Commented: (AXISCPP-941) windows compilerarg
Date Sun, 12 Mar 2006 15:42:55 GMT
    [ http://issues.apache.org/jira/browse/AXISCPP-941?page=comments#action_12370075 ] 

Yukio Goto commented on AXISCPP-941:
------------------------------------

cpptasks add /MDd or /MD if compiler tasik is debug or not .

so, change buildInitialize.xml to

 <compilerarg value="/MD" unless="debug"/> 
    <compilerarg value="/MDd" if="debug"/> 
don't work just as you designed .

You delete 
<compilerarg value="/MD" unless="debug"/> 
line from buildInitialize.xml and change 
<compiler id="VisualC++" name="msvc" if="windows">
line to 
<compiler id="VisualC++" name="msvc" if="windows" debug="${debug}" >
.

and if you use xerces, you change buildInitialize.xml one more . see
Comment by John Hawkins [02/Mar/06 03:08 PM] 

Thanks .

> 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


Mime
View raw message