Skip to content

Commit 42e82ed

Browse files
committed
dmake: suppress Wsign-compare warnings in release builds
1 parent f540484 commit 42e82ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/dmake.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ int main(int argc, char **argv)
312312

313313
// Makefile settings..
314314
if (release) {
315-
makeConditionalVariable(fout, "CXXFLAGS", "-O2 -include lib/cxx11emu.h -DNDEBUG -Wall");
315+
makeConditionalVariable(fout, "CXXFLAGS", "-O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare");
316316
} else {
317317
// TODO: add more compiler warnings.
318318
// -Wlogical-op : doesn't work on older GCC

0 commit comments

Comments
 (0)