Changes between Initial Version and Version 1 of Ticket #67346


Ignore:
Timestamp:
May 2, 2023, 8:57:56 AM (13 months ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #67346

    • Property Status changed from new to assigned
    • Property Owner set to MarcusCalhoun-Lopez
    • Property Summary changed from Build error in openimageio to openimageio @2.4.5.0: error: use of bitwise '&' with boolean operands
  • Ticket #67346 – Description

    initial v1  
    11Build of openimageio fails on what appears to be a coding error (or compiler mismatch?)::info:build
    22
     3{{{
     4/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]
     5        bool s_onetile = (tile_st[S0] != tilewhmask[S0])
     6                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     7/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
    38/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]
    4 :info:build         bool t_onetile = (tile_st[T0] != tilewhmask[T0])
     9        bool t_onetile = (tile_st[T0] != tilewhmask[T0])
     10                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     11/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
     122 errors generated.
     13}}}
    514
    615I will attach the full build log file.