>> /Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/400/unxmacxi.pro/inc/boost/aligned_storage.hpp:90:
>>  warning: enumeral and non-enumeral type in conditional expression
> ...
> I had seen this too but from what I have seen on the world wide web, this 
> seems to be a problem inside boost, triggered but not directly caused by my 
> usage of ::boost::variant.  Possible solutions:
> 1. Update boost
> 2. Replace the usage of sfx2::sidebar::Paint with Wallpaper
> 3. Do not compile with WaE
> 
> I would prefer 1 but I guess 2 is the most pragmatic.  Besides the initial 
> use case for the new Paint type may have been watered down to become 
> irrelevant.

I inspired by 
https://svn.boost.org/trac/boost/attachment/ticket/4297/mtc-4297.patch and use:

    BOOST_STATIC_CONSTANT(
          std::size_t
        , alignment = (
          alignment_ == std::size_t(-1)
          ? 
std::size_t(::boost::detail::aligned_storage::alignment_of_max_align)
            : alignment_
            )
        );


there (ie. add std::size_t(...) for now.
-- 
Pavel Janík




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to