[GIT PULL -tip] fix 33 make headers_check warnings

H. Peter Anvin hpa at zytor.com
Fri Jan 23 17:01:07 EST 2009


Jan Engelhardt wrote:
> 
> Hm, maybe g++ defaults to std? Because this works without me using
> "using std;"
> 
> #include <cstdint>
> int main(void)
> {
> 	uint32_t x;
> }
> 

Sorry, this was a bit of a surprise... basically the g++ <cstdint> 
functionally does #include <stdint.h> then exports the symbols into the 
std namespace, so it puts them into both...

	-hpa





More information about the linux-mtd mailing list