https://llvm.org/bugs/show_bug.cgi?id=25049
Bug ID: 25049 Summary: Bootstrapping LLDB fails on recent OSX due to c++11-narrowing Product: lldb Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@lists.llvm.org Reporter: kfisc...@college.harvard.edu CC: llvm-b...@lists.llvm.org Classification: Unclassified 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. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev