[rtems-libbsd commit] Enable compiler warnings

Sebastian Huber sebh at rtems.org
Fri Dec 20 10:16:34 UTC 2013


Module:    rtems-libbsd
Branch:    master
Commit:    b49921ee979ad20c660d5736594dd9879dcc35ad
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=b49921ee979ad20c660d5736594dd9879dcc35ad

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Oct  9 15:43:48 2013 +0200

Enable compiler warnings

---

 Makefile            |    2 +-
 freebsd-to-rtems.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index e1276f4..6288368 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ CFLAGS += -Ifreebsd/lib/libkvm
 CFLAGS += -Ifreebsd/lib/libmemstat
 CFLAGS += -Ifreebsd/lib/libipsec
 CFLAGS += -Itestsuite/include
-CFLAGS += -w
+CFLAGS += -Wall
 CFLAGS += -std=gnu99
 CFLAGS += -MT $@ -MD -MP -MF $(basename $@).d
 NEED_DUMMY_PIC_IRQ=yes
diff --git a/freebsd-to-rtems.py b/freebsd-to-rtems.py
index 81b5bdb..f72e687 100755
--- a/freebsd-to-rtems.py
+++ b/freebsd-to-rtems.py
@@ -428,7 +428,7 @@ class ModuleManager:
 			'CFLAGS += -Ifreebsd/lib/libmemstat\n' \
 			'CFLAGS += -Ifreebsd/lib/libipsec\n' \
 			'CFLAGS += -Itestsuite/include\n' \
-			'CFLAGS += -w\n' \
+			'CFLAGS += -Wall\n' \
 			'CFLAGS += -std=gnu99\n' \
 			'CFLAGS += -MT $@ -MD -MP -MF $(basename $@).d\n' \
 			'NEED_DUMMY_PIC_IRQ=yes\n' \




More information about the vc mailing list