From c954c4bca854bd003b1e59da6a27083db8ded9a0 Mon Sep 17 00:00:00 2001 From: Arkadiy Vertleyb Date: Wed, 15 Dec 2004 03:24:29 +0000 Subject: [PATCH] fixing warnings in como [SVN r2412] --- include/boost/typeof/register_functions.hpp | 2 +- test/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/typeof/register_functions.hpp b/include/boost/typeof/register_functions.hpp index f97dd18..4a1e218 100755 --- a/include/boost/typeof/register_functions.hpp +++ b/include/boost/typeof/register_functions.hpp @@ -29,7 +29,7 @@ enum CONST_MEM_FUN_ID = FUN_ID + 3 * BOOST_PP_INC(BOOST_TYPEOF_LIMIT_FUNCTION_ARITY), CONST_VOID_MEM_FUN_ID = FUN_ID + 4 * BOOST_PP_INC(BOOST_TYPEOF_LIMIT_FUNCTION_ARITY), VOLATILE_MEM_FUN_ID = FUN_ID + 5 * BOOST_PP_INC(BOOST_TYPEOF_LIMIT_FUNCTION_ARITY), - VOLATILE_CONST_MEM_FUN_ID = FUN_ID + 6 * BOOST_PP_INC(BOOST_TYPEOF_LIMIT_FUNCTION_ARITY), + VOLATILE_CONST_MEM_FUN_ID = FUN_ID + 6 * BOOST_PP_INC(BOOST_TYPEOF_LIMIT_FUNCTION_ARITY) }; namespace boost diff --git a/test/main.cpp b/test/main.cpp index 2102242..c3e29fe 100755 --- a/test/main.cpp +++ b/test/main.cpp @@ -147,7 +147,7 @@ void odr_test() } #pragma message("main()...") -main() +int main() { odr_test(); }