From a8d01e32a1ba341aa141b026779fc5c4deaba5b3 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Mon, 23 Mar 2009 21:07:50 +0200 Subject: [PATCH] Modified default compilation options. --- Makefile | 2 +- iptv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 28af6c1..2e7b3ec 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).c | awk '{ p ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses +CXXFLAGS ?= -fPIC -g -O2 -Wall -Wextra -Wswitch-default -Wfloat-equal -Wundef -Wpointer-arith -Wconversion -Wcast-align -Wredundant-decls -Wno-unused-parameter -Woverloaded-virtual -Wno-parentheses ### The directory environment: diff --git a/iptv.c b/iptv.c index 301a3ed..767001c 100644 --- a/iptv.c +++ b/iptv.c @@ -78,7 +78,7 @@ bool cPluginIptv::ProcessArgs(int argc, char *argv[]) // Implement command line argument processing here if applicable. static const struct option long_options[] = { { "devices", required_argument, NULL, 'd' }, - { NULL } + { NULL, 0, NULL, 0 } }; int c;