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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.