summaryrefslogtreecommitdiff
path: root/t/t5707-clone-detached.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-07-29 19:53:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-07-31 18:50:07 (GMT)
commitb53a5f2416f23bc93f44df95074f9f7f69844a79 (patch)
treee83e17cbdb4c4aa3120f07d917cf1543f478fdb4 /t/t5707-clone-detached.sh
parent00d12607a27e387ad78b5957afa05e89c87e83a5 (diff)
downloadgit-b53a5f2416f23bc93f44df95074f9f7f69844a79.zip
git-b53a5f2416f23bc93f44df95074f9f7f69844a79.tar.gz
git-b53a5f2416f23bc93f44df95074f9f7f69844a79.tar.bz2
config.mak.dev: squelch -Wno-missing-braces for older gcc
Versions of gcc prior to 4.9 complain about an initialization like: struct inner { int x; }; struct outer { struct inner; }; struct outer foo = { 0 }; and insist on: struct outer foo = { { 0 } }; Newer compilers handle this just fine. And ignoring the window even on older compilers is fine; the resulting code is correct, but we just get caught by -Werror. Let's relax this for older compilers to make developer lives easier (we don't care much about non-developers on old compilers; they may see a warning, but it won't stop compilation). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5707-clone-detached.sh')
0 files changed, 0 insertions, 0 deletions