diff options
author | Vikas Rangarajan <vikas@vikas-linux.tva.tvworks.com> | 2010-03-24 09:52:45 -0700 |
---|---|---|
committer | Vikas Rangarajan <vikas@vikas-linux.tva.tvworks.com> | 2010-03-24 09:52:45 -0700 |
commit | 2d548cfac46ed49fc42910622d0222533ca84c4b (patch) | |
tree | 8f54105723a148506d44b23c4cdd0a570c046c59 | |
parent | cf6891934297c51cd12bac3278b6e59df5e42f06 (diff) | |
download | cpptasks-parallel-2d548cfac46ed49fc42910622d0222533ca84c4b.tar.gz cpptasks-parallel-2d548cfac46ed49fc42910622d0222533ca84c4b.tar.bz2 cpptasks-parallel-2d548cfac46ed49fc42910622d0222533ca84c4b.tar.xz cpptasks-parallel-2d548cfac46ed49fc42910622d0222533ca84c4b.zip |
Replaced deprecated visual studio C++ compiler option /GZ with current /RTC1
-rw-r--r-- | src/main/java/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java | 2 | ||||
-rw-r--r-- | src/test/java/net/sf/antcontrib/cpptasks/devstudio/TestDevStudioCCompiler.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java b/src/main/java/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java index cb378c0..172734b 100644 --- a/src/main/java/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java +++ b/src/main/java/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java @@ -101,7 +101,7 @@ public abstract class DevStudioCompatibleCCompiler protected void addDebugSwitch(Vector args) { args.addElement("/Zi"); args.addElement("/Od"); - args.addElement("/GZ"); + args.addElement("/RTC1"); args.addElement("/D_DEBUG"); } protected void addWarningSwitch(Vector args, int level) { diff --git a/src/test/java/net/sf/antcontrib/cpptasks/devstudio/TestDevStudioCCompiler.java b/src/test/java/net/sf/antcontrib/cpptasks/devstudio/TestDevStudioCCompiler.java index 0e546e9..599721a 100644 --- a/src/test/java/net/sf/antcontrib/cpptasks/devstudio/TestDevStudioCCompiler.java +++ b/src/test/java/net/sf/antcontrib/cpptasks/devstudio/TestDevStudioCCompiler.java @@ -33,7 +33,7 @@ public class TestDevStudioCCompiler extends TestCase { assertEquals(4, args.size()); assertEquals("/Zi", args.elementAt(0)); assertEquals("/Od", args.elementAt(1)); - assertEquals("/GZ", args.elementAt(2)); + assertEquals("/RTC1", args.elementAt(2)); assertEquals("/D_DEBUG", args.elementAt(3)); } } |