From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7C5263858401; Sat, 27 May 2023 00:42:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C5263858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685148146; bh=XBV6GNt8WbaRXPnOCp5AJVHTMkQ/mA/tNEOH6PL4izk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=K2V5yJPOLuYrZI19mkI8L+dSGo6OiseANSZL4/mQosKsKML463MrMaUldEt+ED/l3 T1Tsz7544oxIrg38PRsS88I4CrlbtMzD33/cgh2ZW4+fGwNRdPsek0fgB3z4Xv9rsO s75qvIMJw5GXv8X6nxJR4fXIWV6ZiAc71Ta/mfvc= From: "ivan.lazaric.gcc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/109988] -iwithprefix doesn't add folder to end of search list Date: Sat, 27 May 2023 00:42:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 11.3.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: ivan.lazaric.gcc at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109988 --- Comment #3 from Ivan Lazaric --- Note that clang has the same flags and behaves according to the documentati= on, might be some value in matching it. If it's considered too breaking of a change, I would recommend introducing a -iwithprefixafter flag that would add the directory to the end of the inclu= de search list.=