- 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:
parent
8b4b6ac2ed
commit
6e457d6bb1
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue