[Xapian-tickets] [Xapian] #330: #includes should use C++ form rather than C form

Xapian nobody at xapian.org
Fri Feb 13 17:09:47 GMT 2009


#330: #includes should use C++ form rather than C form
---------------------+------------------------------------------------------
 Reporter:  richard  |       Owner:  olly     
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  1.1.0    
Component:  Other    |     Version:  SVN trunk
 Severity:  minor    |   Blockedby:           
 Platform:  All      |    Blocking:           
---------------------+------------------------------------------------------
 According to xapian-core/HACKING:

 For standard ISO C headers, we now prefer the C++ form for ISO C headers
 (e.g. "#include <cstdlib>" rather than "#include <stdlib.h>") for new code
 (a *lot* of the existing code currently uses the old form, but there are a
 few semantic differences, so we're holding off on a wholesale conversion
 until 1.1.0 to avoid potentially disruptive changes with no direct benefit
 to users).

 This ticket is just to remind us to do this.  Since 1.1.x is a development
 series, I don't think it needs to be done for 1.1.0, but I'm marking this
 for 1.1.0 since we should at least change HACKING if we don't do it for
 that release.

-- 
Ticket URL: <http://trac.xapian.org/ticket/330>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list