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;