compiling with -Wall gives the following erroneous errors about the ctor and
dtor -- but not about the method.
[EMAIL PROTECTED]:33>g++ foo.ii -Wall -c
foo.ii:4: warning: inline function `TPL<T>::TPL() [with T = int]' used but
   never defined
foo.ii:5: warning: inline function `TPL<T>::~TPL() [with T = int]' used but
   never defined

-- 
           Summary: invalid inline warning
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nathan at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to