* [PATCH] Template.cc testsuite compilation fix
@ 1999-03-13 10:36 ahaas
1999-04-01 0:00 ` ahaas
0 siblings, 1 reply; 2+ messages in thread
From: ahaas @ 1999-03-13 10:36 UTC (permalink / raw)
To: gdb-patches
Hi.
Both gdb-4.17.85 and gdb-4.17.86 (the two most recent snapshots I'm
aware of) failed the c++ tests for 'template.cc' because the test
program did not compile correctly. egcs-1.1.1 was not happy about
the '0' template parameter. The attatched patch solves the compilation
glitch, and the (for me), the first 5 tests succeed. Only the
'print t5i.value()' test failed. As best as I can tell, the change
does not invalidate the template tests.
Thanks for your work on gdb.
Art Haas
======================
--- gdb-4.17.86/gdb/testsuite/gdb.c++/templates.cc.orig Mon Jan 11 09:20:53 1999
+++ gdb-4.17.86/gdb/testsuite/gdb.c++/templates.cc Sat Mar 13 11:29:44 1999
@@ -724,7 +724,7 @@
Baz<int, 's'> bazint;
Baz<char, 'a'> bazint2;
- Qux<char, 0> quxint2;
+ Qux<char, string> quxint2;
Qux<int, string> quxint;
Qux1<int, gf1> qux11;
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] Template.cc testsuite compilation fix
1999-03-13 10:36 [PATCH] Template.cc testsuite compilation fix ahaas
@ 1999-04-01 0:00 ` ahaas
0 siblings, 0 replies; 2+ messages in thread
From: ahaas @ 1999-04-01 0:00 UTC (permalink / raw)
To: gdb-patches
Hi.
Both gdb-4.17.85 and gdb-4.17.86 (the two most recent snapshots I'm
aware of) failed the c++ tests for 'template.cc' because the test
program did not compile correctly. egcs-1.1.1 was not happy about
the '0' template parameter. The attatched patch solves the compilation
glitch, and the (for me), the first 5 tests succeed. Only the
'print t5i.value()' test failed. As best as I can tell, the change
does not invalidate the template tests.
Thanks for your work on gdb.
Art Haas
======================
--- gdb-4.17.86/gdb/testsuite/gdb.c++/templates.cc.orig Mon Jan 11 09:20:53 1999
+++ gdb-4.17.86/gdb/testsuite/gdb.c++/templates.cc Sat Mar 13 11:29:44 1999
@@ -724,7 +724,7 @@
Baz<int, 's'> bazint;
Baz<char, 'a'> bazint2;
- Qux<char, 0> quxint2;
+ Qux<char, string> quxint2;
Qux<int, string> quxint;
Qux1<int, gf1> qux11;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-04-01 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-13 10:36 [PATCH] Template.cc testsuite compilation fix ahaas
1999-04-01 0:00 ` ahaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox