Skip Menu |

This queue is for tickets about the CORBA-IDL CPAN distribution.

Report information
The Basics
Id: 7114
Status: resolved
Priority: 0/
Queue: CORBA-IDL

People
Owner: PERRAD [...] cpan.org
Requestors: mike31fr [...] free.fr
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: null float constant
hello, when you try to use idl.pl with the following definition: module toto { typedef float Meters; const Meters NULL_METERS = 0.0; }; you have the following error: #toto.idl:3#Error: 'float' 0 is out of range. The error comes from CORBA/IDL/node.pm::_CheckRange(), and more precisely from the check: 1221 if ($abs_v >= FLT_MIN and $abs_v <= FLT_MAX) { 1222 return $value; 1223 } else { 1224 $parser->Error("'$type->{value}' $value is out of range.\n"); 1225 return undef; 1226 } I corrected it by removing the comparison with FLT_MIN. I think that the same error will occur for double... checks Best Regards Michel. perl version v5.8.1-RC3 built for darwin-thread-multi-2level (MacOS X 10.3.4) CORBA-IDL 2.41