[PATCH] D61046: Fix compilation warnings when compiling with GCC 7.3

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 23 22:08:57 PDT 2019


MaskRay added inline comments.


================
Comment at: llvm/trunk/include/llvm/BinaryFormat/ELF.h:878
 enum : unsigned {
+  SHF_NONE,
+
----------------
`SHF_NONE` is not defined in `/usr/binclude/elf.h`.

`(unsigned)SHF_ALLOC` is probably better.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61046/new/

https://reviews.llvm.org/D61046





More information about the cfe-commits mailing list