authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-08-26 21:40:44-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-08-26 21:40:44-04:00
log1df75da918c5bf4bfa3f6836e79040628c533657
tree3fa1f35d5c14f8a010bcc9864ee4b2a75fad0e7e
parent50a80261dcc1471911a63b9121096b80edbf6ff0
signaturelock-open Commit is signed but in an unrecognized format.

remove no longer needed gcc8 workaround. add gcc9 workaround

Occasionally LLVM headers generate warnings with newer gcc versions and since we use -Werror this has to be worked around.

1 files changed, 3 insertions(+), 3 deletions(-)

src/zig_llvm.cpp+3-3
...@@ -15,9 +15,9 @@...@@ -15,9 +15,9 @@
1515
16#include "zig_llvm.h"16#include "zig_llvm.h"
1717
18#if __GNUC__ >= 818#if __GNUC__ >= 9
19#pragma GCC diagnostic push19#pragma GCC diagnostic push
20#pragma GCC diagnostic ignored "-Wclass-memaccess"20#pragma GCC diagnostic ignored "-Winit-list-lifetime"
21#endif21#endif
2222
23#include <llvm/Analysis/TargetLibraryInfo.h>23#include <llvm/Analysis/TargetLibraryInfo.h>
...@@ -50,7 +50,7 @@...@@ -50,7 +50,7 @@
5050
51#include <lld/Common/Driver.h>51#include <lld/Common/Driver.h>
5252
53#if __GNUC__ >= 853#if __GNUC__ >= 9
54#pragma GCC diagnostic pop54#pragma GCC diagnostic pop
55#endif55#endif
5656