Mike Stump wrote:

Look at the parser (gcc/cp/parser.c:cp_parser_handler) and set a break point there, follow it down into semantic processing, pick a nice place to do the checking, and then add the code to check it.

look at finish_handler_parms in semantics.c

For it to be accepted, others would have to agree it is a good thing to have, for example, if it were in the Effective C++ book, you can argue that way.

yeah, if it were in one of those books it could be added to the -weff-c++ option. It doesn't seem sensible to add a different option for an alternative (set of?) coding rule(s).

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
[EMAIL PROTECTED]    ::     http://www.planetfall.pwp.blueyonder.co.uk

Reply via email to