[cfe-dev] Is this a bug?
James Dennett
james.dennett at gmail.com
Mon Jul 2 10:27:18 PDT 2012
On Mon, Jul 2, 2012 at 1:52 AM, Devchandra L Meetei <dlmeetei at gmail.com> 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?
Yes, C++11 is the first C++ standard to be based on C99. The previous
C++ standard came before C99 was published.
You may well be able to use stdint.h from a C++98 compiler as an
extension, but it's not a bug if a C++98 compiler doesn't support C99
facilities.
-- James
More information about the cfe-dev
mailing list