diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-28 17:30:53 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-09-28 17:30:53 +0000 |
commit | d7ffc0afb35402ad930447e1e470052152bd3cf2 (patch) | |
tree | 88d81a16353f9e677fb4f8c5433e8243b1b80114 | |
parent | 93e630921e1687572226b81fdb1444650e6a8358 (diff) | |
download | mana-client-d7ffc0afb35402ad930447e1e470052152bd3cf2.tar.gz mana-client-d7ffc0afb35402ad930447e1e470052152bd3cf2.tar.bz2 mana-client-d7ffc0afb35402ad930447e1e470052152bd3cf2.tar.xz mana-client-d7ffc0afb35402ad930447e1e470052152bd3cf2.zip |
Added -Werror to CXXFLAGS. Removed unnecessary ambigous inheritance.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/gui/error.h | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2005-09-28 Björn Steinbrink <B.Steinbrink@gmx.de> + + * src/Makefile.am: Added -Werror to the CXXFLAGS to catch warnings + easier. + * src/gui/error.h: Removed unnecessary ambigous inheritance. + 2005-09-26 Yohann Ferreira <bertram@cegetel.net> * src/gui/char_select.cpp, debian/control, debian/rules, diff --git a/src/Makefile.am b/src/Makefile.am index 925cd835..4506fde4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -183,6 +183,6 @@ INCLUDES = \ # the library search path. tmw_LDFLAGS = $(all_libraries) $(LIBSDL_RPATH) `pkg-config --libs libxml-2.0` -tmw_CXXFLAGS = -Wall $(OPENGL_CFLAGS) $(LIBSDL_CFLAGS) `pkg-config --cflags libxml-2.0` $(CURL_CFLAGS) +tmw_CXXFLAGS = -Wall -Werror $(OPENGL_CFLAGS) $(LIBSDL_CFLAGS) `pkg-config --cflags libxml-2.0` $(CURL_CFLAGS) tmw_LDADD = $(LIBSDL_LIBS) -lguichan_sdl -lguichan $(OPENGL_LIBS) $(CURL_LIBS) tmw_TARGET = tmw diff --git a/src/gui/error.h b/src/gui/error.h index 5447fbdf..d85b9269 100644 --- a/src/gui/error.h +++ b/src/gui/error.h @@ -36,7 +36,7 @@ * * \ingroup Interface */ -class ErrorDialog : public OkDialog, public gcn::ActionListener { +class ErrorDialog : public OkDialog { public: /** * Constructor |