← Commit list

fdcd7c423

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2007-01-22
FAILED Duration: 4s

Subject

- add more strict prototype checking to catch wrong and broken code (like nested functions)

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

Makefile.flags+7 -1
@@ -16,10 +16,16 @@ CPPFLAGS += \
-D"BB_VER=KBUILD_STR($(BB_VER))" -DBB_BT=AUTOCONF_TIMESTAMP
CFLAGS += \
- -Wall -Wstrict-prototypes -Wshadow -Werror -Wundef \
+ -Wall -Wshadow -Wno-error -Wundef \
+ -Wold-style-definition \
+ -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations \
-funsigned-char -fno-builtin-strlen -finline-limit=0 -static-libgcc \
-Os -falign-functions=1 -falign-jumps=1 -falign-loops=1 \
-fomit-frame-pointer -ffunction-sections -fdata-sections
+# FIXME: These warnings are at least partially to be concerned about and should
+# be fixed..
+#CFLAGS+=-Wconversion
+
ifeq ($(CONFIG_DEBUG),y)
CFLAGS += -g