Menu

64bits architectures and OMNI

2002-07-24
2002-07-25
  • Dr. Werner Fink

    Dr. Werner Fink - 2002-07-24

    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

     
    • Mark Hamzy

      Mark Hamzy - 2002-07-24

      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

       
    • Dr. Werner Fink

      Dr. Werner Fink - 2002-07-25

      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.

       
      • Mark Hamzy

        Mark Hamzy - 2002-07-25

        Hi Werner,

        I have added you to the project.  Welcome!

        Feel free to ask any questions.

        Mark

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.