diff options
-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" |