Hi,

On 05/12/2019 03:43, [email protected] wrote:
From: Mohamad Noor Alim Hussin <[email protected]>

Getting a compilaton error due to format-overflow. Workaround
to suppress the error message by ignore the warning.

Same as for jdk 8, AFAIK these warnings should be fixed by recipes-core/icedtea/openjdk-7-03b147/icedtea-hotspot-handle-gcc7-format-overflow.patch

Where/why do you get them?

regards;Richard.L


Signed-off-by: Mohamad Noor Alim Hussin <[email protected]>
---
  recipes-core/icedtea/icedtea7-native.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/icedtea/icedtea7-native.inc 
b/recipes-core/icedtea/icedtea7-native.inc
index b578cb2..0329d71 100644
--- a/recipes-core/icedtea/icedtea7-native.inc
+++ b/recipes-core/icedtea/icedtea7-native.inc
@@ -26,7 +26,7 @@ CXXFLAGS_append = " -fno-tree-dse"
  CXX_append = " -std=gnu++98"
# WORKAROUND: ignore errors from new compilers
-CFLAGS_append = " -Wno-error=stringop-overflow -Wno-error=return-type"
+CFLAGS_append = " -Wno-error=stringop-overflow -Wno-error=return-type 
-Wno-error=format-overflow"
inherit native java autotools pkgconfig
  inherit openjdk-build-helper

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to