[cfe-dev] Is this a bug?

Sebastian Redl sebastian.redl at getdesigned.at
Mon Jul 2 02:33:23 PDT 2012


On 02.07.2012 10:52, Devchandra L Meetei wrote:
>
>
>
>     cstdint is part of C++11.  The previous C++ standard did not include
>     C99 headers or features.
>
>
> So it means that though c99 has support for stdint.h, c++ make use of 
> only in C++11?
You can include stdint.h in C++, if your library provides it (and 
doesn't have a similar trap). It's just libstdc++'s cstdlib header that 
is protected against inclusion from C++03. (Stupid restriction IMO, but 
there you are.)

Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120702/93944a64/attachment.html>


More information about the cfe-dev mailing list