simply by compiling on IA64/Alpha/S390x with gcc 3.1
and grepping for pointers and casts. Hopefully I've found
all and havn't break anything ;^)
Nevertheless depending on the adress of a pointer the cast
will break the code on most 64 bit systems.
One change was for the automake 1.6 (no comments in rules
allowed because those comments are executed the shell used
by make).
At least Im using a modified patch for ghostscript 7.05
(simply using %p and no cast for pointers).
Werner
PS: You may add me to the developers list of OMNI.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
within the sources of OMNI 0.7.0 there are some casts
from pointer to int or ULONG which cause trouble with
adressing greater than 32 bits.
I've done some changes available at
https://sourceforge.net/tracker/?group_id=18713&atid=118713
Werner
Hi,
Thanks for your effort. If you want, we can add you as a developer to the project and you can check in any necessary changes.
Those specific casts were to quiet warnings. Thanks for showing the proper way.
How did you find 64bit conversion problems? By code review or through gcc?
Mark
Hi,
simply by compiling on IA64/Alpha/S390x with gcc 3.1
and grepping for pointers and casts. Hopefully I've found
all and havn't break anything ;^)
Nevertheless depending on the adress of a pointer the cast
will break the code on most 64 bit systems.
One change was for the automake 1.6 (no comments in rules
allowed because those comments are executed the shell used
by make).
At least Im using a modified patch for ghostscript 7.05
(simply using %p and no cast for pointers).
Werner
PS: You may add me to the developers list of OMNI.
Hi Werner,
I have added you to the project. Welcome!
Feel free to ask any questions.
Mark