Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58086 - trunk/libs/graph/src
From: jewillco_at_[hidden]
Date: 2009-12-01 14:38:50


Author: jewillco
Date: 2009-12-01 14:38:49 EST (Tue, 01 Dec 2009)
New Revision: 58086
URL: http://svn.boost.org/trac/boost/changeset/58086

Log:
Removed uses of abort() and fixed DLL linkage issues for Windows Mobile
Text files modified:
   trunk/libs/graph/src/read_graphviz_new.cpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/graph/src/read_graphviz_new.cpp
==============================================================================
--- trunk/libs/graph/src/read_graphviz_new.cpp (original)
+++ trunk/libs/graph/src/read_graphviz_new.cpp 2009-12-01 14:38:49 EST (Tue, 01 Dec 2009)
@@ -227,7 +227,7 @@
               default: assert (!"Definition of punctuation_token does not match switch statement");
             }
           }
- default: assert (!"Definition of punctuation_token does not match switch statement"); std::abort();
+ default: assert (!"Definition of punctuation_token does not match switch statement");
         }
       }
       found = boost::regex_search(begin, end, results, number_token);
@@ -497,7 +497,7 @@
         case token::kw_graph: parse_attr_list(current_graph_props()); break;
         case token::kw_node: parse_attr_list(current().def_node_props); break;
         case token::kw_edge: parse_attr_list(current().def_edge_props); break;
- default: assert (!"Bad attr_stmt case"); std::abort();
+ default: assert (!"Bad attr_stmt case");
       }
     }
 
@@ -790,7 +790,7 @@
 namespace detail {
   namespace graph {
 
- bool read_graphviz(const std::string& str, boost::detail::graph::mutate_graph* mg) {
+ BOOST_GRAPH_DECL bool read_graphviz(const std::string& str, boost::detail::graph::mutate_graph* mg) {
       read_graphviz_detail::parser_result parsed_file;
       read_graphviz_detail::parse_graphviz_from_string(str, parsed_file, mg->is_directed());
       read_graphviz_detail::translate_results_to_graph(parsed_file, mg);


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