Home » Developing U++ » UppHub » PlotCtrl
Re: PlotCtrl [message #22856 is a reply to message #22853] |
Sat, 22 August 2009 14:27   |
gridem
Messages: 45 Registered: August 2008
|
Member |
|
|
I removed the 'abs' function and:
----- PlotCtrl ( GUI NOGTK MSC9 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (2 / 11)
PlotCtrl.cpp
d:\MyApps\PlotCtrl\PlotCtrl.cpp(38) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(128) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(129) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(134) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(135) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(139) : warning C4554: '&' : check operator precedence for possible error; use parentheses to clarify preceden
ce
d:\MyApps\PlotCtrl\PlotCtrl.cpp(140) : warning C4554: '&' : check operator precedence for possible error; use parentheses to clarify preceden
ce
d:\MyApps\PlotCtrl\PlotCtrl.cpp(141) : warning C4554: '&' : check operator precedence for possible error; use parentheses to clarify precedence
d:\MyApps\PlotCtrl\PlotCtrl.cpp(161) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(175) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(280) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\MyApps\PlotCtrl\PlotCtrl.cpp(280) : warning C4244: 'argument' : conversion from 'double' to 'int', possible loss of data
d:\myapps\plotctrl\plotctrl.cpp(76) : error C4716: 'PlotCtrl::ZoomAll' : must return a value
PlotCtrl: 1 file(s) built in (0:04.62), 4625 msecs / file, duration = 4657 msecs
There were errors. (0:04.73)
Need to add 'return *this;' at the end of function ZoomAll. After that the project was compiled successfully. The result you can show on the picture:
-
Attachment: plot.png
(Size: 22.09KB, Downloaded 1381 times)
|
|
|
Goto Forum:
Current Time: Sun May 04 00:03:54 CEST 2025
Total time taken to generate the page: 0.00945 seconds
|