|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62840 - branches/quickbook-1.5-spirit2
From: daniel_james_at_[hidden]
Date: 2010-06-12 09:02:31
Author: danieljames
Date: 2010-06-12 09:02:30 EDT (Sat, 12 Jun 2010)
New Revision: 62840
URL: http://svn.boost.org/trac/boost/changeset/62840
Log:
Workaround for clang.
Text files modified:
branches/quickbook-1.5-spirit2/Jamfile.v2 | 2 ++
branches/quickbook-1.5-spirit2/block_markup_grammar.cpp | 7 +++++++
2 files changed, 9 insertions(+), 0 deletions(-)
Modified: branches/quickbook-1.5-spirit2/Jamfile.v2
==============================================================================
--- branches/quickbook-1.5-spirit2/Jamfile.v2 (original)
+++ branches/quickbook-1.5-spirit2/Jamfile.v2 2010-06-12 09:02:30 EDT (Sat, 12 Jun 2010)
@@ -12,8 +12,10 @@
: requirements
<toolset>gcc:<c++-template-depth>300
<toolset>darwin:<c++-template-depth>300
+ <toolset>clang:<c++-template-depth>300
<toolset>gcc:<cflags>-g0
<toolset>darwin:<cflags>-g0
+ <debug-symbols>off
<warnings>off
;
Modified: branches/quickbook-1.5-spirit2/block_markup_grammar.cpp
==============================================================================
--- branches/quickbook-1.5-spirit2/block_markup_grammar.cpp (original)
+++ branches/quickbook-1.5-spirit2/block_markup_grammar.cpp 2010-06-12 09:02:30 EDT (Sat, 12 Jun 2010)
@@ -98,6 +98,13 @@
{
namespace qi = boost::spirit::qi;
namespace ph = boost::phoenix;
+
+ // Workaround for clang:
+ namespace {
+ struct dummmy {
+ qi::rule<iterator, raw_string()> a1;
+ };
+ }
void quickbook_grammar::impl::init_block_markup()
{
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