From: SourceForge.net <no...@so...> - 2004-11-16 07:54:52
|
Bugs item #1067185, was opened at 2004-11-16 09:54 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=437247&aid=1067185&group_id=43735 Category: GMTL Group: None Status: Open Resolution: None Priority: 5 Submitted By: trigras (trigras) Assigned to: Nobody/Anonymous (nobody) Summary: conversion from 'const double' to 'const float' warning Initial Comment: while trying to use gmtl with Matrix44d VS2003 produces warnings: ..\..\..\..\3rdparty\gmtl\gmtl\Generate.h(791) : warning C4244: 'initializing' : conversion from 'const double' to 'const float', possible loss of data Shoudn't there be a DATA_TYPE instead of float in lines 790-792 of Generate.h? And maybe in lines 795-797 also? All warnings: ..\..\..\..\3rdparty\gmtl\gmtl\Generate.h(790) : warning C4244: 'initializing' : conversion from 'const double' to 'const float', possible loss of data ..\..\..\..\3rdparty\gmtl\gmtl\Generate.h(851) : see reference to function template instantiation 'gmtl::Matrix<DATA_TYPE,ROWS,COLS> &gmtl::setRot<double,4,4,gmtl::XYZ>(gmtl::Matrix<DATA_TYPE,ROWS,COLS> &,const gmtl::EulerAngle<DATA_TYPE,ROTATION_ORDER> &)' being compiled with [ DATA_TYPE=double, ROWS=4, COLS=4, ROTATION_ORDER=gmtl::XYZ ] \work\projects\medint_checkout\robotics\code\base\robotdata\src\paths\PathPoint.cpp(114) : see reference to function template instantiation 'gmtl::Matrix<DATA_TYPE,ROWS,COLS> &gmtl::set<double,4,4,gmtl::XYZ>(gmtl::Matrix<DATA_TYPE,ROWS,COLS> &,const gmtl::EulerAngle<DATA_TYPE,ROTATION_ORDER> &)' being compiled with [ DATA_TYPE=double, ROWS=4, COLS=4, ROTATION_ORDER=gmtl::XYZ ] ..\..\..\..\3rdparty\gmtl\gmtl\Generate.h(791) : warning C4244: 'initializing' : conversion from 'const double' to 'const float', possible loss of data ..\..\..\..\3rdparty\gmtl\gmtl\Generate.h(792) : warning C4244: 'initializing' : conversion from 'const double' to 'const float', possible loss of data ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=437247&aid=1067185&group_id=43735 |