<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mingw-w64 build fail after D40181"
   href="https://bugs.llvm.org/show_bug.cgi?id=37874">37874</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Mingw-w64 build fail after D40181
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alexey.pawlow@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>libc++ build broken fir mingw-w64 due to <a href="https://reviews.llvm.org/D40181">https://reviews.llvm.org/D40181</a>

Have error:

[ 10%] Building CXX object
projects/libcxx/lib/CMakeFiles/cxx_objects.dir/__/src/algorithm.cpp.obj
In file included from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/ctype.h:39:0,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/cctype:39,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/cwctype:54,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/cwchar:107,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/string:481,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/random:1645,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/src/algorithm.cpp:11:
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/locale: In
static member function 'static void
std::__1::__num_put<_CharT>::__widen_and_group_float(char*, char*, char*,
_CharT*, _CharT*&, _CharT*&, const std::__1::locale&)':
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:150:20:
error: ambiguous overload for 'operator!=' (operand types are 'locale_t' and
'long long int')
 #define isxdigit_l _isxdigit_l
                    ^
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/locale:1198:18:
note: in expansion of macro 'isxdigit_l'
             if (!isxdigit_l(*__ns, _LIBCPP_GET_C_LOCALE))
                  ^~~~~~~~~~
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:150:20:
note: candidate: operator!=(int, long long int) <built-in>
 #define isxdigit_l _isxdigit_l
                    ^
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/locale:1198:18:
note: in expansion of macro 'isxdigit_l'
             if (!isxdigit_l(*__ns, _LIBCPP_GET_C_LOCALE))
                  ^~~~~~~~~~
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:150:20:
note: candidate: operator!=(_locale_t {aka localeinfo_struct*}, _locale_t {aka
localeinfo_struct*}) <built-in>
 #define isxdigit_l _isxdigit_l
                    ^
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/locale:1198:18:
note: in expansion of macro 'isxdigit_l'
             if (!isxdigit_l(*__ns, _LIBCPP_GET_C_LOCALE))
                  ^~~~~~~~~~
In file included from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/__locale:23:0,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/ios:216,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/ostream:138,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/istream:163,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/random:1646,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/src/algorithm.cpp:11:
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:73:17:
note: candidate: bool operator!=(int, const locale_t&)
     friend bool operator!=(int __left, const locale_t& __right) {
                 ^~~~~~~~
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:69:17:
note: candidate: bool operator!=(const locale_t&, std::nullptr_t)
     friend bool operator!=(const locale_t& __left, std::nullptr_t __right) {
                 ^~~~~~~~
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:65:17:
note: candidate: bool operator!=(const locale_t&, int)
     friend bool operator!=(const locale_t& __left, int __right) {
                 ^~~~~~~~
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:61:17:
note: candidate: bool operator!=(const locale_t&, const locale_t&)
     friend bool operator!=(const locale_t& __left, const locale_t& __right) {
                 ^~~~~~~~
In file included from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/ctype.h:39:0,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/cctype:39,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/cwctype:54,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/cwchar:107,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/string:481,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/random:1645,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/src/algorithm.cpp:11:
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:149:19:
error: ambiguous overload for 'operator!=' (operand types are 'locale_t' and
'long long int')
 #define isdigit_l _isdigit_l
                   ^
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/locale:1204:18:
note: in expansion of macro 'isdigit_l'
             if (!isdigit_l(*__ns, _LIBCPP_GET_C_LOCALE))
                  ^~~~~~~~~
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:149:19:
note: candidate: operator!=(int, long long int) <built-in>
 #define isdigit_l _isdigit_l
                   ^
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/locale:1204:18:
note: in expansion of macro 'isdigit_l'
             if (!isdigit_l(*__ns, _LIBCPP_GET_C_LOCALE))
                  ^~~~~~~~~
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:149:19:
note: candidate: operator!=(_locale_t {aka localeinfo_struct*}, _locale_t {aka
localeinfo_struct*}) <built-in>
 #define isdigit_l _isdigit_l
                   ^
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/locale:1204:18:
note: in expansion of macro 'isdigit_l'
             if (!isdigit_l(*__ns, _LIBCPP_GET_C_LOCALE))
                  ^~~~~~~~~
In file included from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/__locale:23:0,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/ios:216,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/ostream:138,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/istream:163,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/random:1646,
                 from
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/src/algorithm.cpp:11:
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:73:17:
note: candidate: bool operator!=(int, const locale_t&)
     friend bool operator!=(int __left, const locale_t& __right) {
                 ^~~~~~~~
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:69:17:
note: candidate: bool operator!=(const locale_t&, std::nullptr_t)
     friend bool operator!=(const locale_t& __left, std::nullptr_t __right) {
                 ^~~~~~~~
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:65:17:
note: candidate: bool operator!=(const locale_t&, int)
     friend bool operator!=(const locale_t& __left, int __right) {
                 ^~~~~~~~
C:/repo/mingw-w64-clang/src/llvm-6.0.0.src/projects/libcxx/include/support/win32/locale_win32.h:61:17:
note: candidate: bool operator!=(const locale_t&, const locale_t&)
     friend bool operator!=(const locale_t& __left, const locale_t& __right) {
                 ^~~~~~~~
make[2]: *** [projects/libcxx/lib/CMakeFiles/cxx_objects.dir/build.make:63:
projects/libcxx/lib/CMakeFiles/cxx_objects.dir/__/src/algorithm.cpp.obj] Ошибка
1
make[1]: *** [CMakeFiles/Makefile2:11083:
projects/libcxx/lib/CMakeFiles/cxx_objects.dir/all] Ошибка 2</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>