ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fabien_pichard <fabien_pich...@hotmail.com>
Subject Re: MSVC compiler question: cl : Command line warning D9036 : use 'RTC1' instead of 'GZ'
Date Fri, 09 Nov 2007 01:58:10 GMT

ok nevermind...
debug="0" or debug="1" makes the errors disapear...

--fabien

fabien_pichard wrote:
> 
> Hello!
> 
> When I compile with msvc debug="true", I get the following errmsgs:
> cl : Command line warning D9035 : option 'GZ' has been deprecated and will
> be removed in a future release
> cl : Command line warning D9036 : use 'RTC1' instead of 'GZ'
> 
> but according to http://ant-contrib.sourceforge.net/cc.html it's not
> deprecated, so what gives?
> Is there another debug flag I don't know?
> 
>   <taskdef uri="antlib:net.sf.antcontrib"
>           resource="net/sf/antcontrib/antcontrib.properties"
>           classpath="${ant.home}/lib/ant-contrib-1.0b3.jar"/>
> 	<taskdef resource="cpptasks.tasks"/> 
>   <typedef resource="cpptasks.types"/> 
> 
>   <target name="compile" depends="init" description="Compile the source "
> >
>     <cc name="msvc" objdir="${debug.dir}" debug="true">  
>         <fileset dir="${src}" includes="*.c"/> 
>     </cc> 
>  </target>
> 	
> Thanks -- Fabien
> 

-- 
View this message in context: http://www.nabble.com/MSVC-compiler-question%3A-cl-%3A-Command-line-warning-D9036-%3A-use-%27RTC1%27-instead-of-%27GZ%27-tf4775131.html#a13660087
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message