Index: lib/Support/DynamicLibrary.cpp =================================================================== --- lib/Support/DynamicLibrary.cpp (revision 170294) +++ lib/Support/DynamicLibrary.cpp (working copy) @@ -155,7 +155,7 @@ // This macro returns the address of a well-known, explicit symbol #define EXPLICIT_SYMBOL(SYM) \ - if (!strcmp(symbolName, #SYM)) return &SYM + if (!strcmp(symbolName, #SYM)) return (void *) &SYM // On linux we have a weird situation. The stderr/out/in symbols are both // macros and global variables because of standards requirements. So, we Index: utils/unittest/googletest/gtest.cc =================================================================== --- utils/unittest/googletest/gtest.cc (revision 170294) +++ utils/unittest/googletest/gtest.cc (working copy) @@ -120,6 +120,7 @@ #if GTEST_CAN_STREAM_RESULTS_ # include // NOLINT +# include // NOLINT # include // NOLINT #endif