Menu

#135 fix big endian builds

None
pending
None
5
2023-05-31
2019-12-09
q66
No

The latest release of freeimage does not build on big endian systems with failures in the DDS and BMP plugins. The attached patch fixes that.

1 Attachments

Discussion

  • Hervé Drolon

    Hervé Drolon - 2021-07-16
    • status: open --> pending
    • assigned_to: Hervé Drolon
    • Group: -->
     
  • Hervé Drolon

    Hervé Drolon - 2021-07-16

    Hi,

    It seems it is fixed in the SVN
    see https://sourceforge.net/p/freeimage/svn/HEAD/tree/

    Hervé

     
  • Ryan Carsten Schmidt

    Specifically I think it was fixed in https://sourceforge.net/p/freeimage/svn/1809/ .

    The problem was reported again in https://sourceforge.net/p/freeimage/patches/153/ and the same patch suggested in here was submitted there again.

    Both of these submitted patches differ from what was committed in r1809. In r1809, the lines that called SwapLong on the elements of ddpfPixelFormat were removed, but in the two submitted patches, those calls were retained and ddpfPixelFormat was just renamed to ddspf. Could a FreeImage developer please comment on which approach is correct?

     

Anonymous
Anonymous

Add attachments
Cancel