#489 closed defect (fixed)
Missing cstdio in test suite
Reported by: | jbergstroem | Owned by: | Olly Betts |
---|---|---|---|
Priority: | normal | Milestone: | 1.2.2 |
Component: | Test Suite | Version: | SVN trunk |
Severity: | major | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | All |
Description
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.
Attachments (1)
Change History (3)
by , 15 years ago
comment:1 by , 15 years ago
Milestone: | → 1.2.2 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in trunk r14753. This sprintf isn't present in 1.0.x, so nothing to backport.
It would be useful to know the platform and compiler (and version) for the release notes.
Note:
See TracTickets
for help on using tickets.
compile fix