ImageEngine / cortex

Libraries for visual effects software development
Other
531 stars 124 forks source link

`IECoreScene` build failure on architectures with unsigned `char` type #1412

Open themissingcow opened 8 months ago

themissingcow commented 8 months ago

Description

Building IECoreScene on an architecture with an unsigned char type results in a warning-as-errors compile failure for:

https://github.com/ImageEngine/cortex/blob/866905609dbf0023dce5a8a3bdcfed3126906576/src/IECoreScene/Font.cpp#L525

(sorry I don't have the log output to hand just now, will re-build when I get a chance)

Steps to Reproduce

  1. Build cortex under Alma 9 (gcc 11) on aarch64. (Apple M2)