| 11 | | And if we don't do that, perhaps we can at least improve the error message (which is a holdover from the early days before the full numeric tower was integrated, when we had only fixnums and flonums) |
| | 11 | Another would be to emit code that causes a **compile-time error, but in the C compiler** when compiling for a 32-bit target. Something like this: |
| | 12 | |
| | 13 | {{{ |
| | 14 | #ifndef C_SIXTY_FOUR |
| | 15 | #error "This code can only be compiled on 64-bit platforms because there are large fixnum literals and CHICKEN was running in fixnum mode when this was translated to C" |
| | 16 | #endif |
| | 17 | }}} |
| | 18 | |
| | 19 | And if we don't go for either of those, perhaps we can at least improve the error message (which is a holdover from the early days before the full numeric tower was integrated, when we had only fixnums and flonums) |