This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/44333] Ambiguity with typedef and using namespace
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2010 15:54:41 -0000
- Subject: [Bug c++/44333] Ambiguity with typedef and using namespace
- References: <bug-44333-16141@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from paolo dot carlini at oracle dot com 2010-05-30 15:54 -------
And replacing both:
using namespace my;
with
using my::my_size_t;
instead works. This is crazy (IMHO ;) and would not be a workaround for me)
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|4.5.0 |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44333