bulia byak wrote:
will now try to recompile with BRYCE_FLOATS and see if it works.
Here's what I get, I'm not sure how to deal with this:
In file included from desktop-style.cpp:19: svg/stringstream.h: In function `Inkscape::SVGOStringStream& operator<<(Inkscape::SVGOStringStream&, double)': svg/stringstream.h:31: error: could not convert `std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]((+os), (&ftos(double, char, int, int, int)(103, -1, -1, 0)))' to `Inkscape::SVGOStringStream&' desktop-style.cpp: In function `void sp_desktop_set_color(SPDesktop*, const ColorRGBA&, bool, bool)': desktop-style.cpp:47: error: ISO C++ says that `Inkscape::SVGOStringStream& operator<<(Inkscape::SVGOStringStream&, double)' and `std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char, _Traits = std::char_traits<char>]' are ambiguous even though the worst conversion for the former is better than the worst conversion for the latter
Maybe 'explicit' would help?