Neil Groves wrote:
You might get a quicker response from the GCC team, but I'm happy to look into this issue if you provide the exact version of GCC and library version you are using. It will, of course, take me a while since I'll have to setup the compiler and environment.
You might want to take a look at the relevant standard library, or the compiler implementation of the new 'for' syntax. I suspect there might be an unqualified call to begin() and/or end().
For this issue, there is some information in the following thread: (a patch and a test case are also provided in the thread.) http://article.gmane.org/gmane.comp.lib.boost.devel/211863 If we are allowed to break existing codes that rely on ADL to find boost::begin/end, this issue can be easily resolved by putting boost::begin/end into an ADL-barrier namespace and bringing them into namespace boost with a using directive. Regards, Michel