Home » Community » U++ community news and announcements » DDARasterizer
|
Re: DDARasterizer [message #39937 is a reply to message #39932] |
Mon, 13 May 2013 12:02 |
Zbych
Messages: 325 Registered: July 2009
|
Senior Member |
|
|
Hi,
Gcc 4.4 shows some warnings in DDA code (svn 6059):
/home/zbych/upp/uppsrc/Draw/DDARasterizer.cpp: In member function ‘void Upp::DDARasterizer::FatLine(Upp::Point, Upp::Point, int)’:
/home/zbych/upp/uppsrc/Draw/DDARasterizer.cpp:110: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/home/zbych/upp/uppsrc/Core/Gtypes.h:148: note: candidate 1: Upp::Point_<double> Upp::operator*(double, Upp::Point_<double>)
/home/zbych/upp/uppsrc/Core/Gtypes.h:148: note: candidate 2: Upp::Point_<int> Upp::operator*(int, Upp::Point_<int>)
/home/zbych/upp/uppsrc/Draw/DDARasterizer.cpp:111: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/home/zbych/upp/uppsrc/Core/Gtypes.h:150: note: candidate 1: Upp::Point_<double> Upp::operator/(Upp::Point_<double>, double)
/home/zbych/upp/uppsrc/Core/Gtypes.h:150: note: candidate 2: Upp::Point_<int> Upp::operator/(Upp::Point_<int>, int)
S
[Updated on: Mon, 13 May 2013 17:35] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Sun Apr 28 04:26:59 CEST 2024
Total time taken to generate the page: 0.03329 seconds
|