Opened 17 months ago

Last modified 5 months ago

#67346 assigned defect

openimageio @2.4.5.0: error: use of bitwise '&' with boolean operands — at Version 1

Reported by: elteck Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: openimageio

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Build of openimageio fails on what appears to be a coding error (or compiler mismatch?)::info:build

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openimageio/openimageio/work/oiio-2.4.5.0/src/libtexture/texturesys.cpp:2305:26: error: use of bitwise '&' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
        bool s_onetile = (tile_st[S0] != tilewhmask[S0])
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openimageio/openimageio/work/oiio-2.4.5.0/src/libtexture/texturesys.cpp:2305:26: note: cast one or both operands to int to silence this warning
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openimageio/openimageio/work/oiio-2.4.5.0/src/libtexture/texturesys.cpp:2307:26: error: use of bitwise '&' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
        bool t_onetile = (tile_st[T0] != tilewhmask[T0])
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openimageio/openimageio/work/oiio-2.4.5.0/src/libtexture/texturesys.cpp:2307:26: note: cast one or both operands to int to silence this warning
2 errors generated.

I will attach the full build log file.

Change History (2)

Changed 17 months ago by elteck

Attachment: main.log added

Build log of imageio

comment:1 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to MarcusCalhoun-Lopez
Status: newassigned
Summary: Build error in openimageioopenimageio @2.4.5.0: error: use of bitwise '&' with boolean operands
Note: See TracTickets for help on using tickets.