[omniORB] VC6 Compiler Warning?
Olaf Meding
olaf@tomotherapy.com
Wed, 25 Apr 2001 09:27:18 -0500
When I compile my code using VC6 I get an obvious warning. This must be a
known issue? Here is the warning:
warning C4305: 'initializing' : truncation from 'const double' to 'const
float'
Here is the code produced by the IDL compiler that causes the warning:
extern const CORBA::Float invalidFloat=-1.00000001335e-010;
AFAIK the constant should be appended with an F (for float)?
Olaf
Using binary omniORB 3.0.3 with static run-time libraries with VC6 (sp5) on
NTW4 (sp5).