On Friday 23 October 2009, Andreas Jaeger wrote:
On Thursday 22 October 2009 18:58:59 Peter Bloomfield wrote:
My question is correct. The problem is the 64-bit compiled version of the executable results in severe image artefacts after reconstruction; I know that this is not the case with the 32-bit compiled version. If I forget this sometime in the future, then I want the program to stop execution, flag an error, and I can then go back to my journal to check why I did it this way.
why not do it at compile time?
If you only care about x86-64, do:
#if defined __x86_64__ # error "Compiling on 64-bit x86-64 not supported." #endif
If you care about other 64-bit machines, do: #include
#if __WORDSIZE == 64 # error "..." #endif that way you'll never get a 64-bit object at all ;)
I would prefer to fix the image code instead to properly work with both 32- bit and 64-bit wordsize, That is my preference, but some of it is out of my hands.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org