Namespace-/Template-/Friend-Bug

Thomas Luzat thomas.luzat@gmx.net
Wed May 10 07:39:00 GMT 2000


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tar.bz2
Type: application/x-bzip2
Size: 1451 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000510/ca9a9765/attachment.bz2>


More information about the Gcc-bugs mailing list