From 3a2b76bf841cd6efe528f53df0eae735381eb7c6 Mon Sep 17 00:00:00 2001 From: etobi Date: Mon, 26 Oct 2009 22:59:01 +0100 Subject: Treat compiler warnings as errors and fixed member initialization order (Closes #196) --- Makefile | 2 +- txtrecv.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d80c29a..0e1fc79 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The C++ compiler and options: OPTLEVEL ?= 2 -CXXFLAGS = -O$(OPTLEVEL) -g -Wall -Woverloaded-virtual -fPIC -DPIC +CXXFLAGS = -O$(OPTLEVEL) -g -Wall -Werror -Woverloaded-virtual -fPIC -DPIC ### The directory environment: diff --git a/txtrecv.h b/txtrecv.h index 78af3df..0d2614d 100644 --- a/txtrecv.h +++ b/txtrecv.h @@ -158,12 +158,12 @@ private: cTelePage *TxtPage; void SaveAndDeleteTxtPage(); bool storeTopText; + cRingTxtFrames buffer; Storage *storage; protected: virtual void Activate(bool On); virtual void Receive(uchar *Data, int Length); virtual void Action(); - cRingTxtFrames buffer; public: cTxtReceiver(int TPid, tChannelID chan, bool storeTopText, Storage* storage); virtual ~cTxtReceiver(); -- cgit v1.2.3