From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B70283858C2B; Sat, 15 Apr 2023 11:45:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B70283858C2B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681559115; bh=9fcuoo+wmK9wy1mMZLa2VaGd9S+dgzhukQMpZ+Oc9SQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GlN7CYuToasxR63hHm4xu3kPhBZN+xVRfJLwm0s2KcN9eJOLDQClyAI2cduQgWMMT ICsfWIlGNT2M/R7buyCJ0V3fKte2HBO3S3JujqIiLTyn6ruDiWaX+UqtQVo9IEB7l7 hKsJFmTrV6vayAO8IcoFmhQwJvx+W6sBgjgDpGm8= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/109522] Spurious "cc1: error: no include path in which to search for stdc-predef.h" building a cross compiler Date: Sat, 15 Apr 2023 11:45:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xry111 at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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=3D109522 --- Comment #2 from Xi Ruoyao --- (In reply to Jakub Jelinek from comment #1) > I bet we really don't need the macros from stdc-predef.h, so perhaps we > could use -nostdinc. > stdc-predef.h currently (sometimes) predefines > __STDC_IEC_559__ > __STDC_IEC_60559_BFP__ > __STDC_IEC_559_COMPLEX__ > __STDC_IEC_60559_COMPLEX__ > __STDC_ISO_10646__ > and grep doesn't find any STDC_IEC nor STDC_ISO occurrences in fixincl. Yes, these macros are some sort of "modern" (stdc-predef.h was firstly adde= d to Glibc in 2012), and it's unlikely anyone has ever used them in a broken way (without "__").=