[LLVMbugs] [Bug 20873] New: lld: build warnings from gcc 4.8.2 on Ubuntu
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Sep 6 15:27:03 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20873
Bug ID: 20873
Summary: lld: build warnings from gcc 4.8.2 on Ubuntu
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: yaron.keren at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
[ 98%] Building CXX object
tools/lld/lib/ReaderWriter/PECOFF/CMakeFiles/lldPECOFF.dir/ReaderCOFF.cpp.o
/home/yaron/llvm/tools/lld/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp: In member
function ‘std::error_code {anonymous}::FileCOFF::maybeCreateSXDataAtoms()’:
/home/yaron/llvm/tools/lld/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp:902:56:
warning: enumeral mismatch in conditional expression:
‘llvm::COFF::RelocationTypeAMD64’ vs ‘llvm::COFF::RelocationTypeI386’
[-Wenum-compare]
: llvm::COFF::IMAGE_REL_I386_DIR32,
[ 98%] Building CXX object
tools/lld/lib/ReaderWriter/PECOFF/CMakeFiles/lldPECOFF.dir/WriterPECOFF.cpp.o
/home/yaron/llvm/tools/lld/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp: In member
function ‘void
lld::pecoff::{anonymous}::AtomChunk::addBaseRelocations(std::vector<long
unsigned int>&) const’:
/home/yaron/llvm/tools/lld/lib/ReaderWriter/PECOFF/WriterPECOFF.cpp:645:36:
warning: enumeral mismatch in conditional expression:
‘llvm::COFF::RelocationTypeAMD64’ vs ‘llvm::COFF::RelocationTypeI386’
[-Wenum-compare]
: llvm::COFF::IMAGE_REL_I386_DIR32;
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140906/07cdb20a/attachment.html>
More information about the llvm-bugs
mailing list