Forum Navigation
tango.text.Regex won't compile on linux x86_64
Moderators:
kris
Posted: 12/02/08 10:29:36When I try and compile the Regex module using gdc, I get the following error:
warning - /gdc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.1.2/../../../../include/d/4.1.2/tango/text/Regex.d:1334: Error: implicit conversion of expression (this.next_tag - 1LU) of type ulong to uint can cause loss of data
The tango.text.Regex code that generates this is:
uint tagCount()
{
return next_tag-1;
}
This appears to be a 64-bit related problem.