Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66894 - trunk/boost/detail
From: bdawes_at_[hidden]
Date: 2010-11-30 09:53:24


Author: bemandawes
Date: 2010-11-30 09:53:22 EST (Tue, 30 Nov 2010)
New Revision: 66894
URL: http://svn.boost.org/trac/boost/changeset/66894

Log:
Rename main.hpp -> lightweight_main.hpp
Added:
   trunk/boost/detail/lightweight_main.hpp
      - copied, changed from r66893, /trunk/boost/detail/main.hpp
Removed:
   trunk/boost/detail/main.hpp
Text files modified:
   trunk/boost/detail/lightweight_main.hpp | 5 ++---
   1 files changed, 2 insertions(+), 3 deletions(-)

Copied: trunk/boost/detail/lightweight_main.hpp (from r66893, /trunk/boost/detail/main.hpp)
==============================================================================
--- /trunk/boost/detail/main.hpp (original)
+++ trunk/boost/detail/lightweight_main.hpp 2010-11-30 09:53:22 EST (Tue, 30 Nov 2010)
@@ -1,4 +1,4 @@
-// boost/detail/main.hpp -------------------------------------------------------------//
+// boost/detail/lightweight_main.hpp -------------------------------------------------//
 
 // Copyright Beman Dawes 2010
 
@@ -28,8 +28,7 @@
     std::cout
     << "\nERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR\n"
     << "\n****************************** std::exception *****************************\n"
- << ex.what()
- << "\n***************************************************************************\n"
+ << ex.what() ligh************************************************\n"
     << std::endl;
   }
   return 1;

Deleted: trunk/boost/detail/main.hpp
==============================================================================
--- trunk/boost/detail/main.hpp 2010-11-30 09:53:22 EST (Tue, 30 Nov 2010)
+++ (empty file)
@@ -1,36 +0,0 @@
-// boost/detail/main.hpp -------------------------------------------------------------//
-
-// Copyright Beman Dawes 2010
-
-// Distributed under the Boost Software License, Version 1.0.
-// See http://www.boost.org/LICENSE_1_0.txt
-
-#include <iostream>
-#include <exception>
-
-//--------------------------------------------------------------------------------------//
-// //
-// exception reporting main() that calls cpp_main() //
-// //
-//--------------------------------------------------------------------------------------//
-
-int cpp_main(int argc, char* argv[]);
-
-int main(int argc, char* argv[])
-{
- try
- {
- return cpp_main(argc, argv);
- }
-
- catch (const std::exception& ex)
- {
- std::cout
- << "\nERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR\n"
- << "\n****************************** std::exception *****************************\n"
- << ex.what()
- << "\n***************************************************************************\n"
- << std::endl;
- }
- return 1;
-}


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk