I'm developing a 64-bit operating system, but I've some trouble handing 64-integers in gcc..
Take this code as an example:
Code: Select all
uint64_t frames = some_value;
for(j = 0; j < 64; j++)
{
uint64_t bit = (1 << j);
if(!(frames & bit))
{
return j;
}
}
Why can't gcc handle 64-bit integers? And more important, can I get it working?