Commit d81f5737 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[1954] Back to suppress errors for clang as some clang versions do not support or -W options.

parent 190b91b0
......@@ -16,7 +16,7 @@ endif
# We have to do this to link with new C++ pieces of code
perfdhcp_CXXFLAGS = $(AM_CXXFLAGS)
if USE_CLANGPP
perfdhcp_CXXFLAGS += -Wno-deprecated-writable-strings
perfdhcp_CXXFLAGS += -Wno-error
else
if USE_GXX
perfdhcp_CXXFLAGS += -Wno-write-strings
......
......@@ -2220,9 +2220,10 @@ reporting(void)
void
reapchild(int sig)
{
// Do something with variables to avoid unused-variable warning
int status;
int s = sig;
s = 1;
status = sig;
status = 0;
while (wait3(&status, WNOHANG, NULL) > 0)
/* continue */;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment