Description of Problem: This problem is actual for compiler c++ in Red Hat 8.0 only. Test case works properly( without error) in Red Hat 7.3. Compiler c++ does not recognize rypedef name redefinition in the file scope. We have the next text for file test.C: namespace kr { typedef long krina; } using kr::krina; typedef char krina; Command line:c++ test.C Compiler does not emits any error. If we compile this file with any another c++ language compiler we have the error due to redefinition of identifier "krina". Version-Release number of selected component (if applicable): Command line:c++ -v Compiler emits the next information about version: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man -- infodir=/usr/share/info --enable-shared --enable-threads=posix --disable- checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit Thread model: posix gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) How Reproducible: Steps to Reproduce: 1. To make file test.C, as described in report. 2. To execute command line:c++ test.C 3. Actual Results: Expected Results: Additional Information:
Fails through gcc 3.3; fixed in gcc 3.4.