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

- macOS: Fix clang warning about display_unittest.cc missing a newline (issue #2347).
This commit is contained in:
Dan Kegel 2018-01-03 18:52:09 +00:00 committed by Marshall Greenblatt
parent 8b4b6ac2ed
commit 6e457d6bb1
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -453,4 +453,4 @@ TEST(DisplayTest, OnConsoleMessageAssert) {
CefRefPtr<ConsoleTestHandler> handler = new ConsoleTestHandler(config);
handler->ExecuteTest();
ReleaseAndWaitForDestructor(handler);
}
}