[Info-vax] problem with 64-bit pointers in C

ergamenes at gmail.com ergamenes at gmail.com
Wed Jan 31 07:01:53 EST 2018


On Wednesday, 31 January 2018 11:30:41 UTC, Joukj  wrote:

> This implicates that when compiling with 64-bit pointers you always get 
> a warning when subtracting pointers with DECC. How can you avoid the 
> warning!

I don't see the error HP C V7.3-018, so probably an unhelpful diagnostic sneaked in V7.3-020. It is true though that, given a sufficiently large object, you might lose data. Until the compiler gets a major overhaul, which may not be even on the roadmap for IA64, it's probably a case of verifying the restriction won't bite you, then disabling it in your build.



More information about the Info-vax mailing list