[llvm-bugs] [Bug 42426] New: lib/Basic/SourceManager.cpp is causing warning on MSVC
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jun 27 10:20:00 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42426
Bug ID: 42426
Summary: lib/Basic/SourceManager.cpp is causing warning on MSVC
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: denis.bakhvalov at intel.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
After
commit 979ae80af7ec49624b932954d22cb91900f17121
Author: Richard Smith <richard-llvm at metafoo.co.uk>
Date: Fri Jun 21 20:46:22 2019 +0000
PR42301: Abort cleanly if we encounter a huge source file rather than
crashing.
We have new warning reported by MSVC:
path/to/clang/lib/Basic/SourceManager.cpp(116): error C2220: warning treated as
error - no 'object' file generated
path/to/clang/lib/Basic/SourceManager.cpp(116): warning C4018: '>=':
signed/unsigned mismatch
I can see in other places in this file result of ContentsEntry->getSize() is
casted to unsingned.
--
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/20190627/fc274157/attachment.html>
More information about the llvm-bugs
mailing list