Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6535: MS VS 2010 compile failure using a droppable accumulator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-20 13:17:59
#6535: MS VS 2010 compile failure using a droppable accumulator
--------------------------------------+-------------------------------------
Reporter: michael.rosen@⦠| Owner: eric_niebler
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: accumulator
Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Comment (by Howard Butler <hobu.inc@â¦>):
The second half of this patch fails to compile for me on llvm-gcc 4.2 on
apple. It doesn't like the cast. Note that these files were namespaced and
embedded with bcp, but it didn't appear as though that should have any
impact on the patch. It's possible I'm missing something obvious though.
{{{
In file included from
/Users/hobu/dev/git/pdal/boost/boost/accumulators/framework/accumulator_set.hpp:28,
from
/Users/hobu/dev/git/pdal/boost/boost/accumulators/accumulators.hpp:12,
from
/Users/hobu/dev/git/pdal/src/../include/pdal/filters/Stats.hpp:46,
from /Users/hobu/dev/git/pdal/src/StageFactory.cpp:80:
/Users/hobu/dev/git/pdal/boost/boost/accumulators/framework/accumulators/droppable_accumulator.hpp:
In copy constructor
'pdalboost::accumulators::droppable_accumulator<Accumulator>::droppable_accumulator(const
pdalboost::accumulators::droppable_accumulator<Accumulator>&)':
/Users/hobu/dev/git/pdal/boost/boost/accumulators/framework/accumulators/droppable_accumulator.hpp:173:
error: expected type-specifier
/Users/hobu/dev/git/pdal/boost/boost/accumulators/framework/accumulators/droppable_accumulator.hpp:173:
error: expected `>'
/Users/hobu/dev/git/pdal/boost/boost/accumulators/framework/accumulators/droppable_accumulator.hpp:173:
error: expected `('
/Users/hobu/dev/git/pdal/boost/boost/accumulators/framework/accumulators/droppable_accumulator.hpp:173:
error: expected `)' before 'const'
/Users/hobu/dev/git/pdal/src/StageFactory.cpp: In member function 'void
pdal::StageFactory::loadPlugins()':
/Users/hobu/dev/git/pdal/src/StageFactory.cpp:466: warning: ISO C++
forbids casting between pointer-to-function and pointer-to-object
make[2]: *** [src/CMakeFiles/pdal.dir/StageFactory.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/pdal.dir/all] Error 2
make: *** [all] Error 2
[hobu_at_fire pdal (master)]$ g++ --version
i686-apple-darwin10-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.1.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6535#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC