BIND 10 #409: cleanup proposal: get rid of UNUSED_PARAM

BIND 10 Development do-not-reply at isc.org
Mon Nov 8 05:55:21 UTC 2010


#409: cleanup proposal: get rid of UNUSED_PARAM
---------------------------+------------------------------------------------
  Reporter:  jinmei        |            Owner:  jreed               
      Type:  enhancement   |           Status:  new                 
  Priority:  minor         |        Milestone:  feature backlog item
 Component:  build system  |         Keywords:                      
 Sensitive:  0             |   Estimatedhours:  0                   
     Hours:  0             |         Billable:  1                   
Totalhours:  0             |         Internal:  0                   
---------------------------+------------------------------------------------
 In C++ we can omit parameter names in function definitions if the
 parameter is unsed.  Using this language feature we can avoid relying on
 the compiler dependent feature "UNUSED_PARAM" (which is expanded to
 '__attribute__((unused))' for gcc).  For wider portability that would be a
 better approach.

-- 
Ticket URL: <http://bind10.isc.org/ticket/409>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list