Home » Developing U++ » UppHub » PlotCtrl
Re: PlotCtrl [message #22857 is a reply to message #22855] |
Sat, 22 August 2009 20:21   |
|
Hello gridem,
Thank you very much for testing it on windows, I have only linux computer right now, so this really helps. For some reason GCC decided to be nice and didn't tell how stupid I am 
gridem wrote on Sat, 22 August 2009 14:12 |
d:\MyApps\PlotCtrl\PlotCtrl.cpp(7) : error C2084: function 'double abs(double)' already has a body
E:\Program Files\Microsoft Visual Studio 9.0\Vc\Include\math.h(487) : see previous definition of 'abs'
|
This is my bad memory... I forgot that the absolute value function is fabs() not abs, so I wrote my own When you removed it used the integer abs() - which very probably caused the ugly picture you attached.
gridem wrote on Sat, Sat, 22 August 2009 14:27 |
d:\myapps\plotctrl\plotctrl.cpp(76) : error C4716: 'PlotCtrl::ZoomAll' : must return a value
|
Well, this one I simply missed... Perhaps I should use -Wall with gcc to get warned about such mistakes.
I attached corrected version, it should work without any warnings now. Could you try to compile it, please? Thank you very much for your help.
Regards
Honza
[EDIT: Removed the file, see newest version below.]
[Updated on: Mon, 24 August 2009 10:16] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sat May 03 10:56:12 CEST 2025
Total time taken to generate the page: 0.04112 seconds
|