On Mon, Jan 18, 2010 at 4:20 PM, Simon Hill <yacw...@gmail.com> wrote: > I'm pretty sure this is a bug but I'd like a confirmation (or > refutation) before I submit a bug report. >
First the issue here is what namespace does the foundental types in C++ have? The standard says none which makes this code invalid but there is an outstanding defect report against the standard that says they have the global one. This is for agrument dependent namelookup. Anyways there is an already filed GCC bug about this defect report against the standard, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29131 . Thanks, Andrew Pinski