<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jun 11, 2014 at 12:14 PM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="h5">
<br><div class="gmail_quote">On Wed, Jun 11, 2014 at 8:10 PM, Ben Smith <span dir="ltr"><<a href="mailto:binji@chromium.org" target="_blank">binji@chromium.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hello cfe-dev,<div><br></div><div>Clang defines a subset of the predefined stdint macros that GCC does. In particular, GCC defines the following macros many of which are not defined in Clang:</div>

<div><br></div>
<div>__U?INT{_,_FAST,_LEAST}{8,16,32,64}_{MAX,TYPE}__</div><div>__U?INT{PTR,MAX}_{MAX,TYPE}__</div><div><br></div><div>Some of these macros are used in newlib's stdint.h, if they exist. It seems that it hasn't been thoroughly tested with Clang, however, as some macros are assumed to exist.</div>


<div><br></div><div>Is it worth adding these to Clang?</div></div></blockquote></div><br></div></div>Yes, we should try to be compatible here, and generally it seems reasonable to define the fully expanded set of these.</div>
</div>
</blockquote></div><br></div><div class="gmail_extra">Great, I'll make a CL adding these.<br></div></div>