[Xapian-tickets] [Xapian] #489: Missing cstdio in test suite

Xapian nobody at xapian.org
Tue Jun 22 22:21:40 BST 2010


#489: Missing cstdio in test suite
-------------------------+--------------------------------------------------
 Reporter:  jbergstroem  |       Owner:  olly     
     Type:  defect       |      Status:  new      
 Priority:  normal       |   Milestone:           
Component:  Test Suite   |     Version:  SVN trunk
 Severity:  major        |    Keywords:           
Blockedby:               |    Platform:  All      
 Blocking:               |  
-------------------------+--------------------------------------------------
 While running make check, I get this:
 {{{
 g++ -DHAVE_CONFIG_H -I. -I.. -I../common -I../include -I../include
 -I./harness   -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual
 -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef
 -Wshadow -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-
 overflow=1 -Winit-self -Wlogical-op -Wmissing-declarations
 -fvisibility=hidden -Werror -g -O2 -MT harness/testsuite.o -MD -MP -MF
 $depbase.Tpo -c -o harness/testsuite.o harness/testsuite.cc &&\
 mv -f $depbase.Tpo $depbase.Po
 harness/testsuite.cc: In member function ‘test_driver::test_result
 test_driver::runtest(const test_desc*)’:
 harness/testsuite.cc:552: error: ‘sprintf’ was not declared in this scope
 }}}

 ..see attached patch for a fix.

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



More information about the Xapian-tickets mailing list