[Bug c++/24939] operator in middle of expression is parsed as template

2005-11-19 Thread igodard at pacbell dot net


--- Comment #1 from igodard at pacbell dot net  2005-11-19 10:11 ---
Created an attachment (id=10290)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10290action=view)
compiler output


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24939



[Bug c++/24939] operator in middle of expression is parsed as template

2005-11-19 Thread igodard at pacbell dot net


--- Comment #2 from igodard at pacbell dot net  2005-11-19 10:12 ---
Created an attachment (id=10291)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10291action=view)
source code (compressed)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24939



[Bug c++/24939] operator in middle of expression is parsed as template

2005-11-19 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2005-11-19 18:31 ---
I think this is a dup of your older bug, PR 20308.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24939



[Bug c++/24939] operator in middle of expression is parsed as template

2005-11-19 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2005-11-19 18:34 ---
Yep it is a dup:
templatetypename T, templatetypenameclass al
void slistT, al::merge(slistT, al l) {
node_type* cursor = before_begin().iter;
while(cursor-next != nil  !l.empty()) {
 if (l.head-val  cursor-next-val)


*** This bug has been marked as a duplicate of 20308 ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24939