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    [from the cache]
©2003-2011 Jasper Spaans