Re: error: 'Bitwise' has not been declared only on s390x

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

 



On Sun, Nov 22, 2020 at 10:17 AM Sérgio Basto <sergio@xxxxxxxxxx> wrote:
> /builddir/build/BUILD/ogre-1.12.6/OgreMain/include/OgreImageCodec.h: In
> static member function 'static void Ogre::ImageCodec::flipEndian(void*,
> size_t, size_t)':
> /builddir/build/BUILD/ogre-
> 1.12.6/OgreMain/include/OgreImageCodec.h:53:13: error: 'Bitwise' has
> not been declared
>    53 |             Bitwise::bswapChunks(pData, size, count);
>
> What this means [1] , any known workaround ?

It looks like upstream forgot about the namespace.  Try patching
OgreImageCodec.h to change "Bitwise" to "Ogre::Bitwise".  That code is
only used on big endian architectures, which is why you only see the
build failure on s390x.
-- 
Jerry James
http://www.jamezone.org/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux