r2 - 25 Jan 2008 - 13:33:35 - RickMachYou are here: TWiki >  Documentation Web  >  AskedQuestions > WxObsMap

Question

The constructor: WxObservation?(const DayTime& t, double temp, double pres, double humid)

takes parameters of 'double' type even if its members are declared of type 'float'

d:\gpstklib\gpstklib\wxobsmap.hpp(79) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data d:\gpstklib\gpstklib\wxobsmap.hpp(79) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data d:\gpstklib\gpstklib\wxobsmap.hpp(79) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data

-- OctavianAndrei - 24 Jan 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

thanks for the catch

-- RickMach - 25 Jan 2008

 
Change status to:

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
WEBLOGOALT
This site is powered by the TWiki collaboration platformCopyright amp;© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback