diff --git a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/text/makefile/MacroDefinitionRule.java b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/text/makefile/MacroDefinitionRule.java index 2d57b1d2958..13a21285a99 100644 --- a/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/text/makefile/MacroDefinitionRule.java +++ b/build/org.eclipse.cdt.make.ui/src/org/eclipse/cdt/make/internal/ui/text/makefile/MacroDefinitionRule.java @@ -160,7 +160,7 @@ class MacroDefinitionRule implements IPredicateRule { protected boolean isValidCharacter(int c) { // From GNUMakefile manual: - // A variable name may be any sequence of characters not containing ‘:’, ‘#’, ‘=’, or leading or trailing whitespace. + // A variable name may be any sequence of characters not containing ':', '#', '=', or leading or trailing whitespace. // However, variable names containing characters other than letters, numbers, and underscores should be avoided, // as they may be given special meanings in the future, and with some shells they cannot be passed through the environment to a sub-make return !Character.isWhitespace(c) && c != ':' && c != '#' && c != '='; diff --git a/core/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/errorparsers/tests/GCCErrorParserTests.java b/core/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/errorparsers/tests/GCCErrorParserTests.java index 8b56ee7b811..6f608ff01be 100644 --- a/core/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/errorparsers/tests/GCCErrorParserTests.java +++ b/core/org.eclipse.cdt.core.tests/misc/org/eclipse/cdt/core/internal/errorparsers/tests/GCCErrorParserTests.java @@ -201,7 +201,7 @@ public class GCCErrorParserTests extends GenericErrorParserTests { public void testGccErrorMessages_RequiredFromHere() throws IOException { runParserTest( new String[] { - "utils/bar.hpp:61:7: required from ‘static void OpenCVUtils::show_contours_d(std::string, cv::Mat&, const std::vector > >&, bool, const Scalar&, int, int, int) [with T = int; std::string = std::basic_string; cv::Scalar = cv::Scalar_]’", + "utils/bar.hpp:61:7: required from 'static void OpenCVUtils::show_contours_d(std::string, cv::Mat&, const std::vector > >&, bool, const Scalar&, int, int, int) [with T = int; std::string = std::basic_string; cv::Scalar = cv::Scalar_]'", "utils/foo.cpp:117:96: required from here", }, 0, // errors @@ -212,7 +212,7 @@ public class GCCErrorParserTests extends GenericErrorParserTests { "foo.cpp", }, new String[] { - "required from ‘static void OpenCVUtils::show_contours_d(std::string, cv::Mat&, const std::vector > >&, bool, const Scalar&, int, int, int) [with T = int; std::string = std::basic_string; cv::Scalar = cv::Scalar_]’", + "required from 'static void OpenCVUtils::show_contours_d(std::string, cv::Mat&, const std::vector > >&, bool, const Scalar&, int, int, int) [with T = int; std::string = std::basic_string; cv::Scalar = cv::Scalar_]'", "required from here", }, new String[] {GCC_ERROR_PARSER_ID} diff --git a/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/src/org/eclipse/cdt/managedbuilder/llvm/util/LlvmToolOptionPathUtil.java b/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/src/org/eclipse/cdt/managedbuilder/llvm/util/LlvmToolOptionPathUtil.java index 10ce8e4a102..82427676c8c 100755 --- a/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/src/org/eclipse/cdt/managedbuilder/llvm/util/LlvmToolOptionPathUtil.java +++ b/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/src/org/eclipse/cdt/managedbuilder/llvm/util/LlvmToolOptionPathUtil.java @@ -320,7 +320,7 @@ public class LlvmToolOptionPathUtil { return configurations; } //info can be null for projects without build info. For example, when creating a project - //from Import >�C/C++ Executable + //from Import > C/C++ Executable if(info == null) { return configurations; } diff --git a/pom.xml b/pom.xml index cb5f99772b5..10e8c721dbf 100644 --- a/pom.xml +++ b/pom.xml @@ -268,6 +268,16 @@ + + + disable-java8-doclint + + [1.8,) + + + none + + cdtRepo