summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2009-10-26 22:59:01 +0100
committeretobi <git@e-tobi.net>2009-10-26 22:59:01 +0100
commit3a2b76bf841cd6efe528f53df0eae735381eb7c6 (patch)
tree15c896c1ba23dc6ec70a630939ef1ebed7a24d74
parentc9e68daf1a46f96b8f0a80b1056e62c3f13bbd5b (diff)
downloadvdr-plugin-osdteletext-3a2b76bf841cd6efe528f53df0eae735381eb7c6.tar.gz
vdr-plugin-osdteletext-3a2b76bf841cd6efe528f53df0eae735381eb7c6.tar.bz2
Treat compiler warnings as errors and fixed member initialization order (Closes #196)
-rw-r--r--Makefile2
-rw-r--r--txtrecv.h2
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();