This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ patches ping ^3


Giovanni Bajo wrote:
Hello,

the following C++ patches of mine are unreviewed:

[PR 14497] Remove leftover of the extension to specialize without template
headers
http://gcc.gnu.org/ml/gcc-patches/2004-06/msg01499.html

case tsk_excessive_parms: ! case tsk_insufficient_parms: ! if (tsk == tsk_excessive_parms) ^^^^^^^ this confused me. ! error ("too many template parameter lists in declaration of `%D'", ! decl); ! else if (template_header_count) ! error("too few template parameter lists in declaration of `%D'", ! decl); ! else ! error("explicit specialization of `%D' must be introduced by " ! "`template <>'", decl); I'd find something like case excessive: error ("barf"); goto cleanup; case insufficient: ... case expl_spec: cleanup:

to be more obvious


[PR 2518] Correct lookup of operator new
http://gcc.gnu.org/ml/gcc-patches/2004-06/msg02525.html
This is obviously correct.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]