<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - [ms compat] compilation of spec2000: 255.vortex is failing with typedef redefinition"
   href="https://llvm.org/bugs/show_bug.cgi?id=26234">26234</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[ms compat] compilation of spec2000: 255.vortex is failing with typedef redefinition
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>C++
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>andrey.kuleshov@intel.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>==========Environment============
OS: Windows
Visual Studio: VS2015
Clang: trunk

=========How to reproduce========
//this lines were taken from spec2000: 255.vortex
//now it is failed to be compiled with clang 
#include <windows.h>
typedef size_t SIZE_T;

$ clang test.cpp -c -m32

=========Error===================
test.cpp:2:16: error: typedef redefinition with different types ('size_t' (aka
'unsigned int') vs 'ULONG_PTR'
      (aka 'unsigned long'))
typedef size_t SIZE_T;
               ^
c:/Program files (x86)/Windows Kits/8.1/include/shared/basetsd.h:415:19: note:
previous definition is here
typedef ULONG_PTR SIZE_T, *PSIZE_T;
                  ^

==================
Intel Compiler Engineer 
Kuleshov Andrey</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>