Looks like this clang version tries and be clever and wants `&str[has_bom ? 3 : 
0]` rather than pointer arithmetic `str + (has_bom ? 3 : 0)`.  I'll prepare a 
PR, although it's kind of a silly warning, we're not writing C++ 😕 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4229#issuecomment-2638019298
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/4229/[email protected]>

Reply via email to