Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » Painter 2.0
Re: Painter 2.0 [message #20052 is a reply to message #20039] Sat, 14 February 2009 00:31 Go to previous messageGo to previous message
emr84 is currently offline  emr84
Messages: 26
Registered: April 2008
Location: Argentina
Promising Member
When I tried to compile PainterExamples (on Windows XP with mingw, Debug mode) in svn 861:

Quote:

----- Painter ( GUI GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (2 / 10)
BLITZ: Painter.cpp PainterPath.cpp FontWin32.cpp FontX11.cpp DrawOp.cpp Painting.cpp Math.cpp Xform2D.cpp Approximate.c
pp Stroker.cpp Dasher.cpp Transformer.cpp Interpolator.cpp Rasterizer.cpp RasterizerClip.cpp Path.cpp Context.cpp I
mage.cpp Mask.cpp Gradient.cpp RadialGradient.cpp
In file included from C:/uppsvn/out/Painter/MINGW.Debug.Debug_full.Gui\$blitz.cpp: 27:
C:\uppsvn\uppsrc\Painter\Math.cpp: In function 'Upp::Pointf Upp::Mid(const Upp::Pointf&, const Upp::Pointf&)':
C:\uppsvn\uppsrc\Painter\Math.cpp:12: error: ISO C++ says that these are ambiguous, even though the worst conversion fo
r the first is better than the worst conversion for the second:
C:\uppsvn\uppsrc/Core/Gtypes.h:148: note: candidate 1: Upp::Point_<double> Upp::operator/(Upp::Point_<double>, double)
C:\uppsvn\uppsrc/Core/Gtypes.h:148: note: candidate 2: Upp::Point_<int> Upp::operator/(Upp::Point_<int>, int)
In file included from C:/uppsvn/out/Painter/MINGW.Debug.Debug_full.Gui\$blitz.cpp: 31:
C:\uppsvn\uppsrc\Painter\Xform2D.cpp: In member function 'bool Upp::Xform2D::IsRegular() const':
C:\uppsvn\uppsrc\Painter\Xform2D.cpp:24: error: call of overloaded 'abs(double)' is ambiguous
C:\upp\mingw\include/stdlib.h:369: note: candidates are: int abs(int)
C:\uppsvn\uppsrc/Core/Core.h:484: note: Upp::int64 abs(Upp::int64)
C:\uppsvn\uppsrc\Painter\Xform2D.cpp:24: error: call of overloaded 'abs(const double&)' is ambiguous
C:\upp\mingw\include/stdlib.h:369: note: candidates are: int abs(int)
C:\uppsvn\uppsrc/Core/Core.h:484: note: Upp::int64 abs(Upp::int64)
In file included from C:/uppsvn/out/Painter/MINGW.Debug.Debug_full.Gui\$blitz.cpp: 35:
C:\uppsvn\uppsrc\Painter\Approximate.cpp: In function 'void Upp::ApproximateArc(Upp::LinearPathConsumer&, const Upp::Po
intf&, const Upp::Pointf&, double, double, double)':
C:\uppsvn\uppsrc\Painter\Approximate.cpp:78: error: call of overloaded 'abs(double)' is ambiguous
C:\upp\mingw\include/stdlib.h:369: note: candidates are: int abs(int)
C:\uppsvn\uppsrc/Core/Core.h:484: note: Upp::int64 abs(Upp::int64)
In file included from C:/uppsvn/out/Painter/MINGW.Debug.Debug_full.Gui\$blitz.cpp: 72:
C:\uppsvn\uppsrc\Painter\Path.cpp: In member function 'virtual void Upp::BufferPainter::QuadraticOp(const Upp::Pointf&,
bool)':
C:\uppsvn\uppsrc\Painter\Path.cpp:73: error: ISO C++ says that these are ambiguous, even though the worst conversion fo
r the first is better than the worst conversion for the second:
C:\uppsvn\uppsrc/Core/Gtypes.h:146: note: candidate 1: Upp::Point_<double> Upp::operator*(double, Upp::Point_<double>)
C:\uppsvn\uppsrc/Core/Gtypes.h:146: note: candidate 2: Upp::Point_<int> Upp::operator*(int, Upp::Point_<int>)
C:\uppsvn\uppsrc\Painter\Path.cpp: In member function 'virtual void Upp::BufferPainter::CubicOp(const Upp::Pointf&, con
st Upp::Pointf&, bool)':
C:\uppsvn\uppsrc\Painter\Path.cpp:87: error: ISO C++ says that these are ambiguous, even though the worst conversion fo
r the first is better than the worst conversion for the second:
C:\uppsvn\uppsrc/Core/Gtypes.h:146: note: candidate 1: Upp::Point_<double> Upp::operator*(double, Upp::Point_<double>)
C:\uppsvn\uppsrc/Core/Gtypes.h:146: note: candidate 2: Upp::Point_<int> Upp::operator*(int, Upp::Point_<int>)
Fillers.cpp
Render.cpp
PaintPainting.icpp
Painter: 24 file(s) built in (0:15.37), 640 msecs / file, duration = 16047 msecs

There were errors. (2:43.95)

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ide: Compare with file, SVN history
Next Topic: MT
Goto Forum:
  


Current Time: Wed May 15 08:52:39 CEST 2024

Total time taken to generate the page: 0.02890 seconds