#include #include int main (int argc, char **argv) { #ifdef _WIN64 static constexpr void* test1 = (void*)(-1L); static constexpr void* test2 = (void*)(-1LL); printf("%llx, %llx\n", test1, test2); #else static constexpr void* test1 = (void*)(-1LL); static constexpr void* test2 = (void*)(-1L); printf("%lx, %lx\n", test1, test2); #endif return 0; }