Re: [GIT PULL -tip] fix 33 make headers_check warnings

H. Peter Anvin
2009-01-23T21:33:07Z

Jan Engelhardt wrote:
>
> I had an objection as previously stated -- namely that
> <stdint.h> should be included to remain friendly to C++0x
> programs which should use <cstdint> instead. Forcing
> stdint.h is therefore not nice.
>

FWIW, it's kind of pointless in that case; <cstdint> exports it into the
std:: namespace rather than the root namespace, so using stdint types
still don't work.

It again comes down to: for headers exported to userspace we *have* to
use double-underscore types.

-hpa

______________________________________________________
Linux MTD discussion mailing list