[lkml]   [2009]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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...


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