From 72a02cce468f3a7712c2af23131626290de10620 Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Sat, 7 Nov 2009 11:46:19 +0100 Subject: Removed debug statement; Fixed doc --- src/main/java/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java | 2 ++ src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java b/src/main/java/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java index f9e4c0b..3497aaf 100644 --- a/src/main/java/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java +++ b/src/main/java/net/sf/antcontrib/cpptasks/gcc/GccCCompiler.java @@ -255,7 +255,9 @@ public final class GccCCompiler extends GccCompatibleCCompiler { public Linker getLinker(LinkType linkType) { return GccLinker.getInstance().getLinker(linkType); } + // BEGINFREEHEP public int getMaximumCommandLength() { return isWindows() ? 20000 : Integer.MAX_VALUE; } + // ENDFREEHEP } diff --git a/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java b/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java index 27ffea0..41a736b 100644 --- a/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java +++ b/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java @@ -235,7 +235,7 @@ public class TestAbstractLdLinker extends TestCase { Vector endargs = new Vector(); String[] rc = linker.addLibrarySets(task, sets, preargs, midargs, endargs); - for (int i=0; i