diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-31 11:21:48 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-31 11:21:48 +0100 |
commit | cf8c6dfe32580d2d93cb67f496f50fa14c572f5c (patch) | |
tree | f06e531c8316810f6fed688f3d7c16fa6582c4ac /sinksh | |
parent | 7c52358e3fc9798715895a57e6eee3274a2b84f3 (diff) | |
download | sink-cf8c6dfe32580d2d93cb67f496f50fa14c572f5c.tar.gz sink-cf8c6dfe32580d2d93cb67f496f50fa14c572f5c.zip |
Enabled and fixed a bunch of warnings
Diffstat (limited to 'sinksh')
-rw-r--r-- | sinksh/CMakeLists.txt | 1 | ||||
-rw-r--r-- | sinksh/sinksh_utils.h | 1 | ||||
-rw-r--r-- | sinksh/syntax_modules/core_syntax.cpp | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/sinksh/CMakeLists.txt b/sinksh/CMakeLists.txt index 1489fb3..521c740 100644 --- a/sinksh/CMakeLists.txt +++ b/sinksh/CMakeLists.txt | |||
@@ -2,6 +2,7 @@ project(sinksh) | |||
2 | 2 | ||
3 | find_package(Readline REQUIRED) | 3 | find_package(Readline REQUIRED) |
4 | 4 | ||
5 | add_definitions("-Wno-undefined-reinterpret-cast") | ||
5 | 6 | ||
6 | set(sink_cli_SRCS | 7 | set(sink_cli_SRCS |
7 | main.cpp | 8 | main.cpp |
diff --git a/sinksh/sinksh_utils.h b/sinksh/sinksh_utils.h index 457f644..3e75e0d 100644 --- a/sinksh/sinksh_utils.h +++ b/sinksh/sinksh_utils.h | |||
@@ -47,6 +47,7 @@ QMap<QString, QString> keyValueMapFromArgs(const QStringList &args); | |||
47 | */ | 47 | */ |
48 | class StoreBase { | 48 | class StoreBase { |
49 | public: | 49 | public: |
50 | virtual ~StoreBase() {}; | ||
50 | virtual Sink::ApplicationDomain::ApplicationDomainType::Ptr getObject() = 0; | 51 | virtual Sink::ApplicationDomain::ApplicationDomainType::Ptr getObject() = 0; |
51 | virtual Sink::ApplicationDomain::ApplicationDomainType::Ptr getObject(const QByteArray &resourceInstanceIdentifier, const QByteArray &identifier = QByteArray()) = 0; | 52 | virtual Sink::ApplicationDomain::ApplicationDomainType::Ptr getObject(const QByteArray &resourceInstanceIdentifier, const QByteArray &identifier = QByteArray()) = 0; |
52 | virtual KAsync::Job<void> create(const Sink::ApplicationDomain::ApplicationDomainType &type) = 0; | 53 | virtual KAsync::Job<void> create(const Sink::ApplicationDomain::ApplicationDomainType &type) = 0; |
diff --git a/sinksh/syntax_modules/core_syntax.cpp b/sinksh/syntax_modules/core_syntax.cpp index f5b6274..a05beb0 100644 --- a/sinksh/syntax_modules/core_syntax.cpp +++ b/sinksh/syntax_modules/core_syntax.cpp | |||
@@ -32,7 +32,6 @@ namespace CoreSyntax | |||
32 | bool exit(const QStringList &, State &) | 32 | bool exit(const QStringList &, State &) |
33 | { | 33 | { |
34 | ::exit(0); | 34 | ::exit(0); |
35 | return true; | ||
36 | } | 35 | } |
37 | 36 | ||
38 | bool showHelp(const QStringList &commands, State &state) | 37 | bool showHelp(const QStringList &commands, State &state) |