https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100570
--- Comment #6 from fsmoke <fsmoke at mail dot ru> --- I just now tested my sample on gcc 13.3 it seems bug already fixed somehow >>That's not a system include directory, because you didn't use -isystem And no... it's not nesessery, because isystem works for all subdirectories