[llvm-bugs] [Bug 37873] New: Building LLDB with mingw-w64 broken

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 20 01:53:20 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37873

            Bug ID: 37873
           Summary: Building LLDB with mingw-w64 broken
           Product: lldb
           Version: 6.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: alexey.pawlow at gmail.com
                CC: llvm-bugs at lists.llvm.org

Building LLDB with mingw-w64 broked by
https://github.com/llvm-mirror/lldb/commit/b984165b795e1817e3e41988a8894f755b575db4#diff-4ca0157b507067ecb5603607ef82da11

Fix is:

--- lldb/include/lldb/lldb-defines.h    2018-06-14 10:47:59.093121500 +0300
+++ lldb/include/lldb/lldb-defines.h    2018-06-14 10:48:12.399156100 +0300
@@ -12,15 +12,15 @@

 #include "lldb/lldb-types.h"

-#if defined(_MSC_VER)
+#if defined(_WIN32)
 #if defined(EXPORT_LIBLLDB)
 #define LLDB_API __declspec(dllexport)
 #elif defined(IMPORT_LIBLLDB)
 #define LLDB_API __declspec(dllimport)
 #else
 #define LLDB_API
 #endif
-#else // defined (_MSC_VER)
+#else // defined (_WIN32)
 #define LLDB_API
 #endif

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180620/be8e05d2/attachment.html>


More information about the llvm-bugs mailing list