c - How to make 64bit Preprocessor defined constant compile without warning? -
imagine this: #define putvalue 0x000000000000000f #define setstr(s) literate(s) #define literate(s) #s ... foo (putvalue, setstr(putvalue)); how can make work this, foo wants first parameter 64 bit integer, , second parameter const string hexadecimal representation of integer leading 0x . so cant do: #define putvalue 0x000000000000000full as break second parameter. but not doing breaking first. oh figgured out awesome way so: foo (int64_c(putvalue), setstr(putvalue)); is doing job.