1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-31 12:13:34 +02:00

Commit for Vlad Hirsl -- The default external scanner info collector was having problems with the output of GCC in non-utf8 locales. It now makes sure the locale is set to utf-8 when it runs GCC on *nix systems

This commit is contained in:
Sean Evoy 2004-07-29 13:04:33 +00:00
parent d1e09a669d
commit deb492ab11
3 changed files with 684 additions and 681 deletions

View file

@ -49,6 +49,7 @@ import org.eclipse.cdt.managedbuilder.internal.core.Target;
import org.eclipse.cdt.managedbuilder.internal.core.Tool;
import org.eclipse.cdt.managedbuilder.makegen.IManagedDependencyGenerator;
import org.eclipse.cdt.managedbuilder.makegen.IManagedBuilderMakefileGenerator;
import org.eclipse.cdt.managedbuilder.makegen.gnu.GnuMakefileGenerator;
import org.eclipse.cdt.managedbuilder.scannerconfig.IManagedScannerInfoCollector;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
@ -340,7 +341,8 @@ public class ManagedBuildManager extends AbstractCExtension implements IScannerI
catch (CoreException e) {
// Probably not defined
}
return null;
// If no generator is defined, return the default GNU generator
return new GnuMakefileGenerator();
}
/**

View file

@ -487,7 +487,7 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator {
}
/* (non-javadoc)
* Answers a <code>StrinBuffer</code> containing all of the required targets to
* Answers a <code>StringBuffer</code> containing all of the required targets to
* properly build the project.
*
* @return StringBuffer