while building on Mac OS X (10.6.8) Snow-Leopard I encountered the following error message. Help needed.
llvm: Compiling ErrorOrTest.cpp for Debug+Asserts build
/llvm/include/llvm/Support/ErrorOr.h: In instantiation of ?llvm::ErrorOr<int&>?:
/llvm/unittests/Support/ErrorOrTest.cpp:44: instantiated from here
/llvm/include/llvm/Support/ErrorOr.h:175: error: forming reference to reference type ?int&?
/llvm/include/llvm/Support/ErrorOr.h:300: error: forming reference to reference type ?int&?
/llvm/unittests/Support/ErrorOrTest.cpp: In member function ?virtual void<unnamed>::ErrorOr_Types_Test::TestBody()?:
/llvm/unittests/Support/ErrorOrTest.cpp:45: error: assignment of read-only location
/llvm/unittests/Support/ErrorOrTest.cpp:45: error: cannot convert ?int? to ?void ()()? in assignment
make: *** [/build/unittests/Support/Debug+Asserts/ErrorOrTest.o] Error 1
make: *** [Support/.makeall] Error 2
make: *** [all] Error 1