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 No such template def TMPL:DEF{PROMPT:supportquery}

Topic revision: r2 - 25 Jan 2008, RickMach
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback