diff options
| -rw-r--r-- | CONTRIBUTORS | 1 | ||||
| -rw-r--r-- | HISTORY | 4 | ||||
| -rw-r--r-- | Make.config.template | 4 | ||||
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | PLUGINS/src/hello/Makefile | 4 | ||||
| -rw-r--r-- | PLUGINS/src/osddemo/Makefile | 4 | ||||
| -rw-r--r-- | PLUGINS/src/pictures/Makefile | 4 | ||||
| -rw-r--r-- | PLUGINS/src/servicedemo/Makefile | 4 | ||||
| -rw-r--r-- | PLUGINS/src/sky/Makefile | 4 | ||||
| -rw-r--r-- | PLUGINS/src/status/Makefile | 4 | ||||
| -rw-r--r-- | PLUGINS/src/svdrpdemo/Makefile | 4 | ||||
| -rwxr-xr-x | newplugin | 4 | 
12 files changed, 25 insertions, 20 deletions
| diff --git a/CONTRIBUTORS b/CONTRIBUTORS index d5b6cc2d..d6794e0d 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2067,6 +2067,7 @@ Tobias Grimm <listaccount@e-tobi.net>   for fixing a memory leak in handling external EPG data   for fixing a memory leak in closing the video file during replay   for fixing deleting the 'skinDescriptions' in cMenuSetupOSD::~cMenuSetupOSD() + for reporting that GCC 4.3 issues a silly warning for expressions like 'a || b && c'  Helge Lenz <h.lenz@gmx.de>   for reporting a bug in setting the 'Delta' parameter when calling the shutdown @@ -5549,3 +5549,7 @@ Video Disk Recorder Revision History    Andreas Brugger).  - Added a missing setting of lastFreeMB in cMenuMain::Update() (reported by    Andreas Brugger). +- Added '-Wno-parentheses' to the compiler options in order to avoid silly compiler +  warnings for expessions like 'a || b && c', where GCC 4.3 wants to force the +  programmer to write 'a || (b && c)', while everybody knows that '&&' links +  stronger than '||' (reported by Tobias Grimm). diff --git a/Make.config.template b/Make.config.template index ace2b1c8..32284fca 100644 --- a/Make.config.template +++ b/Make.config.template @@ -6,7 +6,7 @@  # See the main source file 'vdr.c' for copyright information and  # how to reach the author.  # -# $Id: Make.config.template 1.15 2007/08/25 08:53:45 kls Exp $ +# $Id: Make.config.template 1.16 2008/01/13 12:54:09 kls Exp $  ### The C compiler and options: @@ -14,7 +14,7 @@ CC       = gcc  CFLAGS   = -g -O2 -Wall  CXX      = g++ -CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses  ifdef PLUGIN  CFLAGS   += -fPIC @@ -4,7 +4,7 @@  # See the main source file 'vdr.c' for copyright information and  # how to reach the author.  # -# $Id: Makefile 1.111 2007/12/02 11:29:22 kls Exp $ +# $Id: Makefile 1.112 2008/01/13 12:53:17 kls Exp $  .DELETE_ON_ERROR: @@ -12,7 +12,7 @@ CC       ?= gcc  CFLAGS   ?= -g -O2 -Wall  CXX      ?= g++ -CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses  LSIDIR   = ./libsi  DESTDIR ?= diff --git a/PLUGINS/src/hello/Makefile b/PLUGINS/src/hello/Makefile index 185b527e..c4ea46fd 100644 --- a/PLUGINS/src/hello/Makefile +++ b/PLUGINS/src/hello/Makefile @@ -1,7 +1,7 @@  #  # Makefile for a Video Disk Recorder plugin  # -# $Id: Makefile 1.21 2007/11/04 10:52:15 kls Exp $ +# $Id: Makefile 1.22 2008/01/13 12:59:58 kls Exp $  # The official name of this plugin.  # This name will be used in the '-P...' option of VDR to load the plugin. @@ -18,7 +18,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri  ### The C++ compiler and options:  CXX      ?= g++ -CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses  ### The directory environment: diff --git a/PLUGINS/src/osddemo/Makefile b/PLUGINS/src/osddemo/Makefile index 568faa67..e85663f7 100644 --- a/PLUGINS/src/osddemo/Makefile +++ b/PLUGINS/src/osddemo/Makefile @@ -1,7 +1,7 @@  #  # Makefile for a Video Disk Recorder plugin  # -# $Id: Makefile 1.10 2007/08/15 13:05:24 kls Exp $ +# $Id: Makefile 1.11 2008/01/13 13:00:01 kls Exp $  # The official name of this plugin.  # This name will be used in the '-P...' option of VDR to load the plugin. @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri  ### The C++ compiler and options:  CXX      ?= g++ -CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses  ### The directory environment: diff --git a/PLUGINS/src/pictures/Makefile b/PLUGINS/src/pictures/Makefile index 29f4f4b4..d9499443 100644 --- a/PLUGINS/src/pictures/Makefile +++ b/PLUGINS/src/pictures/Makefile @@ -1,7 +1,7 @@  #  # Makefile for a Video Disk Recorder plugin  # -# $Id: Makefile 1.1 2008/01/13 11:29:27 kls Exp $ +# $Id: Makefile 1.2 2008/01/13 13:00:04 kls Exp $  # The official name of this plugin.  # This name will be used in the '-P...' option of VDR to load the plugin. @@ -18,7 +18,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri  ### The C++ compiler and options:  CXX      ?= g++ -CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses  ### The directory environment: diff --git a/PLUGINS/src/servicedemo/Makefile b/PLUGINS/src/servicedemo/Makefile index 9625953f..a20009af 100644 --- a/PLUGINS/src/servicedemo/Makefile +++ b/PLUGINS/src/servicedemo/Makefile @@ -1,7 +1,7 @@  #  # Makefile for a Video Disk Recorder plugin  # -# $Id: Makefile 1.9 2007/08/15 13:05:42 kls Exp $ +# $Id: Makefile 1.10 2008/01/13 13:00:07 kls Exp $  # The official name of this plugin.  # This name will be used in the '-P...' option of VDR to load the plugin. @@ -18,7 +18,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN1).c | awk '{ pr  ### The C++ compiler and options:  CXX      ?= g++ -CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses  ### The directory environment: diff --git a/PLUGINS/src/sky/Makefile b/PLUGINS/src/sky/Makefile index 52a520bc..30fbb42c 100644 --- a/PLUGINS/src/sky/Makefile +++ b/PLUGINS/src/sky/Makefile @@ -1,7 +1,7 @@  #  # Makefile for a Video Disk Recorder plugin  # -# $Id: Makefile 1.10 2007/08/15 13:06:08 kls Exp $ +# $Id: Makefile 1.11 2008/01/13 13:00:16 kls Exp $  # The official name of this plugin.  # This name will be used in the '-P...' option of VDR to load the plugin. @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri  ### The C++ compiler and options:  CXX      ?= g++ -CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses  ### The directory environment: diff --git a/PLUGINS/src/status/Makefile b/PLUGINS/src/status/Makefile index 2c66d200..d725a39a 100644 --- a/PLUGINS/src/status/Makefile +++ b/PLUGINS/src/status/Makefile @@ -1,7 +1,7 @@  #  # Makefile for a Video Disk Recorder plugin  # -# $Id: Makefile 1.14 2007/08/15 13:06:17 kls Exp $ +# $Id: Makefile 1.15 2008/01/13 13:00:18 kls Exp $  # The official name of this plugin.  # This name will be used in the '-P...' option of VDR to load the plugin. @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri  ### The C++ compiler and options:  CXX      ?= g++ -CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses  ### The directory environment: diff --git a/PLUGINS/src/svdrpdemo/Makefile b/PLUGINS/src/svdrpdemo/Makefile index a6944469..7715284b 100644 --- a/PLUGINS/src/svdrpdemo/Makefile +++ b/PLUGINS/src/svdrpdemo/Makefile @@ -1,7 +1,7 @@  #  # Makefile for a Video Disk Recorder plugin  # -# $Id: Makefile 1.8 2007/08/15 13:06:28 kls Exp $ +# $Id: Makefile 1.9 2008/01/13 13:00:20 kls Exp $  # The official name of this plugin.  # This name will be used in the '-P...' option of VDR to load the plugin. @@ -16,7 +16,7 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri  ### The C++ compiler and options:  CXX      ?= g++ -CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses  ### The directory environment: @@ -12,7 +12,7 @@  # See the main source file 'vdr.c' for copyright information and  # how to reach the author.  # -# $Id: newplugin 1.40 2008/01/13 11:49:08 kls Exp $ +# $Id: newplugin 1.41 2008/01/13 13:00:23 kls Exp $  $PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n"; @@ -77,7 +77,7 @@ VERSION = \$(shell grep 'static const char \\*VERSION *=' \$(PLUGIN).c | awk '{  ### The C++ compiler and options:  CXX      ?= g++ -CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses  ### The directory environment: | 
