On Mon, 1 Oct 2018, Toby Douglass wrote:
Good morning/afternoon/evening, all. I've been writing some position independent data structure code. As such, I've been using ptrdiff_t.I've just noticed, while compiling, that my GCC (6.3.0) has ptrdiff_t as a volatile long int.
I doubt gcc does that. More likely your code has a broken macro somewhere. You don't provide enough information for us to help more...
-- Marc Glisse