[Liblas-commits] hg-main-tree: static linkage already defines main
in the boost lib
liblas-commits at liblas.org
liblas-commits at liblas.org
Wed Mar 16 15:33:09 EDT 2011
details: http://hg.libpc.orghg-main-tree/rev/f4d00899cec4
changeset: 293:f4d00899cec4
user: Kirk McKelvey <kirkoman at gmail.com>
date: Wed Mar 16 14:32:54 2011 -0500
description:
static linkage already defines main in the boost lib
diffstat:
test/unit/main.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r 84734bb4ec31 -r f4d00899cec4 test/unit/main.cpp
--- a/test/unit/main.cpp Wed Mar 16 15:31:50 2011 -0400
+++ b/test/unit/main.cpp Wed Mar 16 14:32:54 2011 -0500
@@ -82,9 +82,12 @@
#endif
}
+#if defined(BOOST_TEST_DYN_LINK) && defined(BOOST_TEST_MAIN) && !defined(BOOST_TEST_NO_MAIN)
+
int
main( int argc, char* argv[] )
{
return ::boost::unit_test::unit_test_main( &libpc_init_unit_test, argc, argv );
}
+#endif // BOOST_TEST_DYN_LINK && BOOST_TEST_MAIN && !BOOST_TEST_NO_MAIN
More information about the Liblas-commits
mailing list