Howard Hinnant <[EMAIL PROTECTED]> writes: | Hi All, | | I'm wondering if the following behavior is: | | 1. An already reported bug. | 2. Not reported, I need to file a bugzilla. | 3. Disputed. | | Here's the test case: | | typedef unsigned short ushort; | | namespace X | { | typedef unsigned short ushort; | } | | using namespace X; | | int main() | { | ushort us = 0; | } | | We currently get: | | error: 'ushort' was not declared in this scope
Plain compiler bug. I'm not aware of any existing report to that effect, though GCC/g++ currently is completely confused when it sees apparently ambiguous declarations, and would report non-existent declaration. That needs fixing. -- Gaby