<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 - mac libclang unknown type name 'size_t'"
   href="https://bugs.llvm.org/show_bug.cgi?id=48831">48831</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>mac libclang unknown type name 'size_t'
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>10.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </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>libclang
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>setimets@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>klimek@google.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=24404" name="attach_24404" title="My entry code block">attachment 24404</a> <a href="attachment.cgi?id=24404&action=edit" title="My entry code block">[details]</a></span>
My entry code block

I'm using the libclang for my cpp reflection project. I input the header file
targets to clang_parseTranslationUnit. 

When I use it on win then it's alright but on the mac, clang diagnostics prints
out the error like "unknown type name 'size_t'" and "error: 'stdio.h' file not
found". So I included  c++ header path of the installed clang at the command
line option but It still prints the same.
I don't know how can I fix it. help me.

I always thank you for your work.</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>