I've started porting Boost 1.27.0 to AmigaOS for use in a project of
mine and I have a few additions and diffs to contribute. I've
created a platform file so other AmigaOS users can at least start
using the Boost out of the box.
1) boost/config/platform/amigaos.h
// (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
// distribute this software is granted provided this copyright notice appears
// in all copies. This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
// See http://www.boost.org for most recent version.
#define BOOST_PLATFORM "AmigaOS"
#define BOOST_DISABLE_THREADS
#define BOOST_NO_CWCHAR
#define BOOST_NO_CWCTYPE
#define BOOST_NO_STD_WSTRING
#define BOOST_NO_SWPRINTF
#define BOOST_NO_INTRINSIC_WCHAR_T
2) boost/config/select_platform_config.hpp
*** select_platform_config.hpp Thu Feb 07 08:26:04 2002
--- GG:boost/boost/config/select_platform_config.hpp Sat Mar 23 21:54:42 2002
***************
*** 52,57 ****
--- 52,61 ----
// IBM
# define BOOST_PLATFORM_CONFIG "boost/config/platform/aix.hpp"
+ #elif defined(__amigaos__)
+ // AmigaOS
+ # define BOOST_PLATFORM_CONFIG "boost/config/platform/amigaos.hpp"
+
#else
# if defined(unix) \
3) libs/graph/test/isomorphism.cpp
*** isomorphism.cpp Sun Mar 24 08:23:13 2002
--- Code:Projects/Tests/GCC/boost/isomorphism.cpp Sun Mar 24 10:09:38 2002
***************
*** 36,71 ****
using namespace boost;
- // Verify that the given mapping iso_map from the vertices of g1 to the
- // vertices of g2 describes an isomorphism.
- // Note: this could be made much faster by specializing based on the graph
- // concepts modeled, but since we're verifying an O(n^(lg n)) algorithm,
- // O(n^4) won't hurt us.
- template