<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><br></div><div>-Ben</div></div>