manojgupta added a comment. In D52524#1621468 <https://reviews.llvm.org/D52524#1621468>, @thakis wrote:
> Couldn't cross build users just pass -nostdsysteminc to tell clang to not > look in system header locations? My understanding is "-nostdsysteminc " does not block users from passing include paths from host that are outside sysroot. i.e. clang --sysroot=/foo -nostdsysteminc -I/usr/include still works. This warning is to catch this behavior. This is an actual problem in Chrome OS where building some third party packages do not respect cross-compilation. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D52524/new/ https://reviews.llvm.org/D52524 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits