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

From: H. Peter Anvin
Date: Fri Jan 23 2009 - 16:45:09 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/