<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Bootstrapping LLDB fails on recent OSX due to c++11-narrowing"
href="https://llvm.org/bugs/show_bug.cgi?id=25049">25049</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Bootstrapping LLDB fails on recent OSX due to c++11-narrowing
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kfischer@college.harvard.edu
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>This is really more of a problem with the OS X system headers, but it comes up
when building LLDB, so we should work around with. The error message is
```
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:80:
In file included from
/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9:
In file included from
/System/Library/Frameworks/Security.framework/Headers/Security.h:74:
In file included from
/System/Library/Frameworks/Security.framework/Headers/SecStaticCode.h:41:
/System/Library/Frameworks/Security.framework/Headers/CSCommon.h:200:32: error:
enumerator value evaluates to -2147483648, which cannot be narrowed to type
'uint32_t'
(aka 'unsigned int') [-Wc++11-narrowing]
kSecCSConsiderExpiration = 1 << 31, /* consider expired
certificates invalid */
```
Might be worth putting `#pragmas` there to silence the error and allow the
build to succeed.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>