On 10.04.2013 15:09, Pavel Janík wrote:
On Apr 10, 2013, at 2:11 PM, Pavel Janík wrote:
Can we get someone on IRC to solve all WaE issues?
This stops me now:
[ build CXX ] sfx2/source/sidebar/SidebarController
cc1plus: warnings being treated as errors
/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
/Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/400/unxmacxi.pro/inc/boost/aligned_storage.hpp:
In instantiation of ‘boost::aligned_storage<4ul, 4ul>’:
/Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/400/unxmacxi.pro/inc/boost/variant/variant.hpp:1170:
instantiated from ‘boost::variant<Color, Gradient,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_,
boost::detail::variant::void_, boost::detail::variant::void_>’
/Users/pavel/BUILD/BuildDir/ooo_trunk_src/sfx2/source/sidebar/Paint.hxx:78:
instantiated from here
/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
make: ***
[/Users/pavel/BUILD/BuildDir/ooo_trunk_src/solver/400/unxmacxi.pro/workdir/CxxObject/sfx2/source/sidebar/SidebarController.o]
Error 1
dmake: Error code 2, while making 'all'
ERROR: error 65280 occurred while making
/Users/pavel/BUILD/BuildDir/ooo_trunk_src/sfx2/prj
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.
-Andre
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org