This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Namespace-/Template-/Friend-Bug
- To: <bug-gcc at gnu dot org>
- Subject: Namespace-/Template-/Friend-Bug
- From: "Thomas Luzat" <thomas dot luzat at gmx dot net>
- Date: Wed, 10 May 2000 16:30:02 +0200
- Reply-To: "Thomas Luzat" <thomas at luzat dot de>
Hi,
here's some code that doesn't work for me. It works as long as I don't put
it in a namespace. Others have confirmed it should work. The files included
in the tar/bzip2 file are:
test1.cpp: The original program which let's the compiler hang under Win2k.
test1.txt: Console output for 'gcc -v --save-temps test1.cpp'
test1.ii: Preprocessed output
test2.*: A variation I tried which gives other errors (see test2.txt)
I had to copy-and-paste the txt-files as pipes didn't work.
gcc -v output:
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs
gcc version 2.95.2 19991024 (release)
OS:
Windows 2000 Professional.
Hopefully this error (if it is one) will be fixed soon... :-)
Contact me if you need any further info. Thanks for your time!
Thomas Luzat
test.tar.bz2