diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-31 11:26:52 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-31 11:26:52 +0100 |
commit | 8aa5510513719f3a8e40a6faf6749fdfc44490d2 (patch) | |
tree | 02590b649420bed91d3f30496b49def605620b67 /sinksh | |
parent | 5725da30d7cff221f1603d3f0b2346000c74fd51 (diff) | |
download | sink-8aa5510513719f3a8e40a6faf6749fdfc44490d2.tar.gz sink-8aa5510513719f3a8e40a6faf6749fdfc44490d2.zip |
Ignore warnings only locally
Diffstat (limited to 'sinksh')
-rw-r--r-- | sinksh/CMakeLists.txt | 2 | ||||
-rw-r--r-- | sinksh/repl/replStates.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sinksh/CMakeLists.txt b/sinksh/CMakeLists.txt index 521c740..90abaec 100644 --- a/sinksh/CMakeLists.txt +++ b/sinksh/CMakeLists.txt | |||
@@ -2,8 +2,6 @@ project(sinksh) | |||
2 | 2 | ||
3 | find_package(Readline REQUIRED) | 3 | find_package(Readline REQUIRED) |
4 | 4 | ||
5 | add_definitions("-Wno-undefined-reinterpret-cast") | ||
6 | |||
7 | set(sink_cli_SRCS | 5 | set(sink_cli_SRCS |
8 | main.cpp | 6 | main.cpp |
9 | syntaxtree.cpp | 7 | syntaxtree.cpp |
diff --git a/sinksh/repl/replStates.cpp b/sinksh/repl/replStates.cpp index 43b1353..5bfc064 100644 --- a/sinksh/repl/replStates.cpp +++ b/sinksh/repl/replStates.cpp | |||
@@ -168,4 +168,6 @@ static char *sink_cli_next_tab_complete_match(const char *text, int state) | |||
168 | return rl_filename_completion_function(text, state); | 168 | return rl_filename_completion_function(text, state); |
169 | } | 169 | } |
170 | 170 | ||
171 | //Ignore warning I don't know how to fix in a moc file | ||
172 | #pragma clang diagnostic ignored "-Wundefined-reinterpret-cast" | ||
171 | #include "moc_replStates.cpp" | 173 | #include "moc_replStates.cpp" |