Bug#216234: g++-3.3: template function triggers syntax error

2003-10-21 Thread Thimo Neubauer
Hi, yet more info for this bug: it may be related to #185604 (also reported by me :) but isn't the same. First of all, the program from #185604 compiles fine with gcc 3.3.2 (no wonder as it went into the regression tests) and the error is different. In the old bug the compiler parsed the specializ

Bug#216234: g++-3.3: template function triggers syntax error

2003-10-21 Thread Thimo Neubauer
Hi, Am 19.10.2003 um 23:52 schrieb Falk Hueffner: > The Compaq compiler also rejects it. I'm pretty sure it's the expected > behaviour, but somebody else should check. In my copy of Stroustrups book (german version, 4th edition) there's a short passage in Appendix A.9 talking about parsing of tem

Bug#216234: g++-3.3: template function triggers syntax error

2003-10-19 Thread Falk Hueffner
Thimo Neubauer <[EMAIL PROTECTED]> writes: > The following code shows that g++ reports a syntax error if the > method-call is inside a template-function but not if it's inside a > normal function: The Compaq compiler also rejects it. I'm pretty sure it's the expected behaviour, but somebody else

Bug#216234: g++-3.3: template function triggers syntax error

2003-10-17 Thread Thimo Neubauer
Package: g++-3.3 Version: 1:3.3.2-0pre5.0.1 Severity: normal Tags: sid The following code shows that g++ reports a syntax error if the method-call is inside a template-function but not if it's inside a normal function: -- snip -- #include template class Entity { public: template void prin