https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107138
--- Comment #6 from Marco Clemencic <marco.clemencic at gmail dot com> --- I seem to be stumbling on more and more of these spurious warnings. The latest one is from a header that is found in a directory added to the search path with "-isystem", and in all cases the warnings talk about methods and functions that are "inlined from ...". I didn't manage to produce a minimal test case proving it, but I start suspecting that "-isystem" is ignored (in some circumstances) when functions get inlined.