This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

template and friend and overload



This message reports what I think is a bug in g++ version
2.95.2 19991024
on an i686-pc-linux-gnu system

In case it's relevant, the config.status file in the directory
where I built gcc is attached to this message.

I am attaching a gzip'd .ii file, main_bad.ii.gz
and the output from the command
/usr/local/bin/g++ -c main_bad.ii
in a file compiler.out

The problem goes away if the method
TX xp1();
in template class FOO
is renamed to
TX xp1_val();

Woody Lichtenstein
Coulera Corporation
wdl@coulera.com
781-891-8637

main_bad.ii.gz

compiler.out

config.status


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]