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++ » UppHub » PlotCtrl
Re: PlotCtrl [message #22857 is a reply to message #22855] Sat, 22 August 2009 20:21 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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 Smile

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 Embarassed 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

 
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: Splash Screen for Your applications!
Next Topic: String near match algorithm
Goto Forum:
  


Current Time: Sat May 03 10:56:12 CEST 2025

Total time taken to generate the page: 0.04112 seconds