From: Earnie B. <ea...@us...> - 2012-06-08 20:20:03
|
On Fri, Jun 8, 2012 at 2:36 PM, Rom Albuquerque wrote: > Hi folks, I've upgraded my g++ version from 3.4.5 to 4.6.2 and now > code that was building just fine with 3.4.5. no longer builds with > 4.6.2. In particularly, a scope resolution problem related to > friend functions when the class it is a friend of is actually defined > inside a namespace. This is the main case that is causing the build > to fail at this point. The sample sources include below reproduce > this problem quite well. > > Any input is welcome. Your response is greatly appreciated. Just a guess. I assume you need to move the ``using namespace std'' or add it additionally within the AppGlobal namespace. I don't C++ that often so this message could be meaningless. -- Earnie -- https://sites.google.com/site/earnieboyd |