History

Disable -Wformat-truncation

this new gcc 8 warning triggers here, but is useless for our purposes.

Michael Matz committed 7 years ago

Commit 63f69c21 parent f68a1f51 file · +1 −1Browse files

Unified · Split

configure+1−1
@@ -368,7 +368,7 @@ fi · 367 unmodified lines
368if ! echo "$cc" | grep -q "tcc"; then368if ! echo "$cc" | grep -q "tcc"; then
369 OPT1="-Wdeclaration-after-statement -fno-strict-aliasing"369 OPT1="-Wdeclaration-after-statement -fno-strict-aliasing"
370 # we want -Wno- but gcc does not always reject unknown -Wno- options370 # we want -Wno- but gcc does not always reject unknown -Wno- options
371 OPT2="-Wpointer-sign -Wsign-compare -Wunused-result"371 OPT2="-Wpointer-sign -Wsign-compare -Wunused-result -Wformat-truncation"
372 if echo "$cc" | grep -q "clang"; then372 if echo "$cc" | grep -q "clang"; then
373 OPT1="$OPT1 -fheinous-gnu-extensions"373 OPT1="$OPT1 -fheinous-gnu-extensions"
374 OPT2="$OPT2 -Wstring-plus-int"374 OPT2="$OPT2 -Wstring-plus-int"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t