From b146c06d31617cb3030d24788c6074eec08a1864 Mon Sep 17 00:00:00 2001 From: sanjaynayakk <43202387+sanjaynayakk@users.noreply.github.com> Date: Mon, 5 Aug 2024 18:31:04 +0530 Subject: [PATCH] RDKBDEV-2732 : Enable -Werror and -Wall in RdkGponManager. (#20) Reason for change: Enabling -Werror and -Wall in RdkGponManager. Test Procedure: Sanity test. Risks: None. Signed-off-by: K Sanjay Nayak --- recipes-ccsp/ccsp/rdkgponmanager.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-ccsp/ccsp/rdkgponmanager.bb b/recipes-ccsp/ccsp/rdkgponmanager.bb index ca27e66..5f2bdc3 100644 --- a/recipes-ccsp/ccsp/rdkgponmanager.bb +++ b/recipes-ccsp/ccsp/rdkgponmanager.bb @@ -28,6 +28,9 @@ CFLAGS_append = " \ -I${STAGING_INCDIR}/ccsp \ -I ${STAGING_INCDIR}/syscfg \ -I ${STAGING_INCDIR}/sysevent \ + -Werror \ + -Wall \ + -Wno-error=switch \ " CFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'rdkb_wan_manager', '-DFEATURE_RDKB_WAN_MANAGER', '', d)}"