[Bug c++/11811] Weird message with default template arguments

pinskia at physics dot uc dot edu gcc-bugzilla@gcc.gnu.org
Tue Aug 5 18:40:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |gdr at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-05 18:40 -------
What is funny is that changing typename to int and int to say 1, gcc produces:
pr11811.cc: In function `void bar() [with int <anonymous> = 1]':
pr11811.cc:8:   instantiated from here
pr11811.cc:5: warning: statement is a reference, not call, to function `
   foo(int)'
Which looks right.

Assigning to GDR.



More information about the Gcc-bugs mailing list