freebsd-ports/net/xmlrpc-c-devel/files/patch_test__cpp__value.cpp
Renato Botelho 7b44243d6e - Update to 1.32.99
- Fix build with clang [1]

PR:		ports/174285 [1]
Submitted by:	deeptech71 <deeptech71@gmail.com> [1]
2012-12-17 16:22:47 +00:00

11 lines
424 B
C++

--- test/cpp/value.cpp.orig 2012-12-17 11:36:32.000000000 -0200
+++ test/cpp/value.cpp 2012-12-17 11:36:53.000000000 -0200
@@ -235,7 +235,7 @@
TEST(iso8601Value == testTime8601);
try {
- value_datetime datetime4(value_int(4));
+ value_datetime second_datetime4(value_int(4));
TEST_FAILED("invalid cast int-datetime suceeded");
} catch (error const&) {}
}