FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

LinkBack Thread Tools
Old 10-09-2011, 07:03 PM
Daniel Drake
Default Don't build with -Werror

This -Werror has caused

and some confusion at
because the equivalent F15 update build failed.

In general it doesn't seem like a good idea to bail out on warnings
as future versions of gcc will have a different idea of what should
be warned about.

On the other hand, this build failure actually found a real bug, so
I may not be making a convincing case here. Thoughts?
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 3b8eb7b..d059ed1 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ DEBUGSRC := "/usr/src/debug"
DEBUGLIB := "/usr/lib/debug"
CC := gcc
PYVER := $(shell python -c "import sys; print sys.version[0:3]")
-CFLAGS := -g -I/usr/include/python$(PYVER) -Wall -Werror -fPIC $(OPTFLAGS) -fno-strict-aliasing
+CFLAGS := -g -I/usr/include/python$(PYVER) -Wall -fPIC $(OPTFLAGS) -fno-strict-aliasing
LDFLAGS := -shared

VERSION := $(shell awk '/Version:/ { print $$2 }' python-pyblock.spec)

Anaconda-devel-list mailing list

Thread Tools

All times are GMT. The time now is 09:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org