[libcxx] r228720 - Make ABI header not found a warning, not an error.

Dan Albert danalbert at google.com
Tue Feb 10 10:46:57 PST 2015


Author: danalbert
Date: Tue Feb 10 12:46:57 2015
New Revision: 228720

URL: http://llvm.org/viewvc/llvm-project?rev=228720&view=rev
Log:
Make ABI header not found a warning, not an error.

Since we've added a new header to libc++abi (__cxxabi_config.h), we
now have a case where we might not always find all the ABI headers:
building libc++ against the system's libc++abi on Darwin.

Since this isn't actually a fatal error, degrade it to a warning.

Modified:
    libcxx/trunk/cmake/Modules/HandleLibCXXABI.cmake

Modified: libcxx/trunk/cmake/Modules/HandleLibCXXABI.cmake
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/cmake/Modules/HandleLibCXXABI.cmake?rev=228720&r1=228719&r2=228720&view=diff
==============================================================================
--- libcxx/trunk/cmake/Modules/HandleLibCXXABI.cmake (original)
+++ libcxx/trunk/cmake/Modules/HandleLibCXXABI.cmake Tue Feb 10 12:46:57 2015
@@ -49,7 +49,7 @@ macro(setup_abi_lib abipathvar abidefine
       endif()
     endforeach()
     if (NOT found)
-      message(FATAL_ERROR "Failed to find ${fpath}")
+      message(WARNING "Failed to find ${fpath}")
     endif()
   endforeach()
 





More information about the cfe-commits mailing list