From de455acb0a95b7f96c18525d8d760183a19f8964 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Sat, 11 Jan 2020 18:38:06 -0800 Subject: [PATCH] {eloquent} ecl-core-apps: fix build with gcc-9 Signed-off-by: Martin Jansa --- .../ecl-core/ecl-core-apps_1.0.4-1.bbappend | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-ros2-eloquent/recipes-bbappends/ecl-core/ecl-core-apps_1.0.4-1.bbappend diff --git a/meta-ros2-eloquent/recipes-bbappends/ecl-core/ecl-core-apps_1.0.4-1.bbappend b/meta-ros2-eloquent/recipes-bbappends/ecl-core/ecl-core-apps_1.0.4-1.bbappend new file mode 100644 index 00000000000..12b641f897a --- /dev/null +++ b/meta-ros2-eloquent/recipes-bbappends/ecl-core/ecl-core-apps_1.0.4-1.bbappend @@ -0,0 +1,13 @@ +# Copyright (c) 2020 LG Electronics, Inc. + +# ecl-core-apps/1.0.4-1-r0/git/src/benchmarks/eigen3_decompositions.cpp:196:52: error: array subscript 40 is outside array bounds of 'ecl::TimeStamp [13]' [-Werror=array-bounds] +# ecl-core-apps/1.0.4-1-r0/git/src/benchmarks/eigen3_decompositions.cpp:196:52: error: array subscript 41 is outside array bounds of 'ecl::TimeStamp [13]' [-Werror=array-bounds] +# ecl-core-apps/1.0.4-1-r0/git/src/benchmarks/eigen3_transforms.cpp:124:4: error: implicitly-declared 'constexpr Pose2D& Pose2D::operator=(const Pose2D&)' is deprecated [-Werror=deprecated-copy] +# ecl-core-apps/1.0.4-1-r0/git/src/benchmarks/eigen3_transforms.cpp:125:4: error: implicitly-declared 'constexpr Pose2D& Pose2D::operator=(const Pose2D&)' is deprecated [-Werror=deprecated-copy] +# ecl-core-apps/1.0.4-1-r0/git/src/benchmarks/eigen3_transforms.cpp:126:4: error: implicitly-declared 'constexpr Pose2D& Pose2D::operator=(const Pose2D&)' is deprecated [-Werror=deprecated-copy] +# ecl-core-apps/1.0.4-1-r0/git/src/benchmarks/eigen3_transforms.cpp:133:4: error: implicitly-declared 'constexpr Pose2D& Pose2D::operator=(const Pose2D&)' is deprecated [-Werror=deprecated-copy] +# ecl-core-apps/1.0.4-1-r0/git/src/benchmarks/eigen3_transforms.cpp:134:4: error: implicitly-declared 'constexpr Pose2D& Pose2D::operator=(const Pose2D&)' is deprecated [-Werror=deprecated-copy] +# ecl-core-apps/1.0.4-1-r0/git/src/benchmarks/eigen3_transforms.cpp:135:4: error: implicitly-declared 'constexpr Pose2D& Pose2D::operator=(const Pose2D&)' is deprecated [-Werror=deprecated-copy] +# ecl-core-apps/1.0.4-1-r0/git/src/benchmarks/eigen3_transforms.cpp:144:6: error: implicitly-declared 'constexpr Pose2D& Pose2D::operator=(const Pose2D&)' is deprecated [-Werror=deprecated-copy] +# ecl-core-apps/1.0.4-1-r0/git/src/benchmarks/eigen3_transforms.cpp:145:6: error: implicitly-declared 'constexpr Pose2D& Pose2D::operator=(const Pose2D&)' is deprecated [-Werror=deprecated-copy] +CXXFLAGS += "-Wno-error=array-bounds -Wno-error=deprecated-copy"