Why is ptrdiff_t a volatile?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

It is not clear to me why this type would be volatile.

I've googled, no luck.

So, why volatile?

Anyone know the rationale?



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux