This isn't "technically" too big of a deal, but do correct me if I'm wrong because I'm not an expert on how security memory exploits work for C++, but there's at least one instance of -Werror=format-security in "src/util/cd_image_chd.cpp" being tripped on line 163. Of course, this only doesn't happen if you don't build with this flag but I do because I generally keep an eye out for this stuff where I can. This isn't the first time I've caught upstream making this specific error either, but they aren't very receptive to open-source behavior on this particular project (it's locked/restricted) either, so it's not even possible to mention issues there. Reproducible: Always Steps to Reproduce: 1.Add "-Wformat -Werror=format-security" to CFLAGS 2.emerge duckstation Actual Results: Build fails due to a format security error Expected Results: Build to succeed without such an issue
Created attachment 868674 [details] Emerge Info and Build Log
I am unable to currently reproduce this problem. It may have been resolved upstream.
Fixed in https://github.com/stenzek/duckstation/commit/9112b6a850bffb43169a2275ca895863bf1d199c, I think.