diff options
author | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2007-07-18 14:23:20 +0000 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2007-07-18 14:23:20 +0000 |
commit | 66b0ef0bf0c91587bc34f0cd0db40e3e214dbec0 (patch) | |
tree | 0e0220ed936919b0709d803ceb111f056446a19b | |
parent | cc0870758539a932dd3dc19653ce5189266f0967 (diff) | |
download | cpptasks-parallel-66b0ef0bf0c91587bc34f0cd0db40e3e214dbec0.tar.gz cpptasks-parallel-66b0ef0bf0c91587bc34f0cd0db40e3e214dbec0.tar.bz2 cpptasks-parallel-66b0ef0bf0c91587bc34f0cd0db40e3e214dbec0.tar.xz cpptasks-parallel-66b0ef0bf0c91587bc34f0cd0db40e3e214dbec0.zip |
Fixed concurrent debug database file update as part of NARPLUGIN-123
-rw-r--r-- | PATCHES | 1 | ||||
-rw-r--r-- | src/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -19,6 +19,7 @@ ** Parallel running change - [src/net/sf/antcontrib/cpptasks/CCTask.java] fork of a process per core/cpu available. - [src/net/sf/antcontrib/cpptasks/TargetHistoryTable.java] protect againts multi-threaded updates. +- [src/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java] replaced /Zi flag with /Z7 to disable writing debug database file (.pdb). ** -fno-rtti changes - [src/net/sf/antcontrib/cpptasks/gcc/GccCompatibleCCompiler.java] removed -fno-rtti flag diff --git a/src/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java b/src/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java index 2502799..dc1afb3 100644 --- a/src/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java +++ b/src/net/sf/antcontrib/cpptasks/devstudio/DevStudioCompatibleCCompiler.java @@ -72,6 +72,7 @@ public abstract class DevStudioCompatibleCCompiler } if (debug) { mindex += 1; +// FREEHEP changed /Zi into /Z7 args.addElement("/Zi"); args.addElement("/Od"); args.addElement("/GZ"); @@ -105,6 +106,7 @@ public abstract class DevStudioCompatibleCCompiler String lastInclude) { String[] additionalArgs = new String[]{ "/Fp" + CUtil.getBasename(prototype) + ".pch", "/Yc"}; + // FREEHEP FIXME we may need /Yd here, but only in debug mode, how do we find out? return new CommandLineCompilerConfiguration(baseConfig, additionalArgs, null, true); } |