[Xapian-tickets] [Xapian] #196: makedepend tool can't cope with long INCLUDE paths

Xapian nobody at xapian.org
Wed Apr 30 14:04:04 BST 2008


#196: makedepend tool can't cope with long INCLUDE paths
-------------------------------+--------------------------------------------
 Reporter:  charlie            |        Owner:  charlie 
     Type:  defect             |       Status:  new     
 Priority:  normal             |    Milestone:  1.1.0   
Component:  MSVC makefiles     |      Version:  SVN HEAD
 Severity:  normal             |   Resolution:          
 Keywords:                     |    Blockedby:          
 Platform:  Microsoft Windows  |     Blocking:          
-------------------------------+--------------------------------------------

Comment(by charliejuggler):

 I've made the following changes to makedepend:
 * use a new #defined constant for buffer size, currently set to 4k
 * attempted to check any string copies or similar that use the above to
 prevent overflows
 * added some #pragmas and a #include - makedepend.exe now builds without
 any warnings
 * added some extra flags to the invocation of makedepend during the Make
 process - this has prevented the warnings it was generating, it seems it
 does understand all the #if directives used in Xapian after all.

 Of course #169 would be a better approach, but for now we have a cleaner
 solution for Windows using makedepend.

-- 
Ticket URL: <http://trac.xapian.org/ticket/196#comment:7>
Xapian <http://trac.xapian.org>
Xapian



More information about the Xapian-tickets mailing list