| author | |
| committer | |
| log | 1df75da918c5bf4bfa3f6836e79040628c533657 |
| tree | 3fa1f35d5c14f8a010bcc9864ee4b2a75fad0e7e |
| parent | 50a80261dcc1471911a63b9121096b80edbf6ff0 |
| signature |
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 | 15 | |
| 16 | 16 | #include "zig_llvm.h" |
| 17 | 17 | |
| 18 | #if __GNUC__ >= 8 | |
| 18 | #if __GNUC__ >= 9 | |
| 19 | 19 | #pragma GCC diagnostic push |
| 20 | #pragma GCC diagnostic ignored "-Wclass-memaccess" | |
| 20 | #pragma GCC diagnostic ignored "-Winit-list-lifetime" | |
| 21 | 21 | #endif |
| 22 | 22 | |
| 23 | 23 | #include <llvm/Analysis/TargetLibraryInfo.h> |
| ... | ... | @@ -50,7 +50,7 @@ |
| 50 | 50 | |
| 51 | 51 | #include <lld/Common/Driver.h> |
| 52 | 52 | |
| 53 | #if __GNUC__ >= 8 | |
| 53 | #if __GNUC__ >= 9 | |
| 54 | 54 | #pragma GCC diagnostic pop |
| 55 | 55 | #endif |
| 56 | 56 |