top | item 46644482

(no title)

aw1621107 | 1 month ago

I believe GP is talking about -fbounds-safety [0, 1]. From my understanding this will cause the compiler to emit an error if it can't figure out how to bounds check a pointer access at either compile time or run time. You then need to either add appropriate annotations to provide the missing information or otherwise restructure the code to satisfy the compiler.

[0]: https://clang.llvm.org/docs/BoundsSafety.html

[1]: https://clang.llvm.org/docs/BoundsSafetyAdoptionGuide.html

discuss

order

adrian_b|1 month ago

Indeed, this is the option used for compiling the Dolby decoder on the unaffected systems.