On Thu, Jun 30, 2016 at 10:15 PM, David Knezevic <david.kneze...@akselos.com
> wrote:

> I have a libMesh app (which has been working fine for a long time) that
> has:
>
> #include <boost/property_tree/json_parser.hpp>
>
> I just updated to the git HEAD, and now I get boost compilation errors for
> this app, e.g.:
>
>
> /home/dknez/software/libmesh_install/opt_real/libmesh/include/boost/type_traits/aligned_storage.hpp:29:1:
> error: redefinition of ‘const size_t
> boost::detail::aligned_storage::alignment_of_max_align’
>  BOOST_STATIC_CONSTANT(
>  ^
>
> /home/dknez/software/libmesh_install/opt_real/libmesh/include/boost/aligned_storage.hpp:33:1:
> error: ‘const size_t
> boost::detail::aligned_storage::alignment_of_max_align’ previously defined
> here
>  BOOST_STATIC_CONSTANT(
>  ^
>
> I guess this is related to the recent boost refresh? Any suggestions on the
> right fix?
>

Hmm... the error message is a little strange, I would have expected a "file
not found" error caused by us forgetting a necessary header.  I guess could
you try compiling libmesh with an external boost 1.61 instead of its
internal one?  If that works, then it's some issue with our subset of
boost.  If that doesn't work, then you might need to update your app to
work with newer versions of boost somehow.

-- 
John
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to