Commit 6e457d6b authored by Dan Kegel's avatar Dan Kegel Committed by Marshall Greenblatt
Browse files

- Linux: Disable gcc warning about code in comments (issue #2346).

- macOS: Fix clang warning about display_unittest.cc missing a newline (issue #2347).
parent 8b4b6ac2
......@@ -86,6 +86,7 @@ if(OS_LINUX)
-Werror # Treat warnings as errors
-Wno-missing-field-initializers # Don't warn about missing field initializers
-Wno-unused-parameter # Don't warn about unused parameters
-Wno-error=comment # Don't complain about code in ascii art
)
list(APPEND CEF_C_COMPILER_FLAGS
-std=c99 # Use the C99 language standard
......
......@@ -453,4 +453,4 @@ TEST(DisplayTest, OnConsoleMessageAssert) {
CefRefPtr<ConsoleTestHandler> handler = new ConsoleTestHandler(config);
handler->ExecuteTest();
ReleaseAndWaitForDestructor(handler);
}
\ No newline at end of file
}
Markdown is supported
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