4 ms·
I'd suggest that even if it's absolutely necessary, one could at least put something like #if (ULONG_MAX < UINTPTR_MAX) && !defined (SUPPRESS_TRUNCATION_ER
by sjolsen 11y ago
I'd suggest that even if it's absolutely necessary, one could at least put something like
#if (ULONG_MAX < UINTPTR_MAX) && !defined (SUPPRESS_TRUNCATION_ERROR)
#error Truncating pointers to long is a bad idea here
#endif
in some source file or another, just so you have some indication whether or not things are going to break when you change the build environment.