lkml.org 
[lkml]   [2009]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL -tip] fix 33 make headers_check warnings
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




\
 
 \ /
  Last update: 2009-01-23 23:09    [W:1.050 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site