Pushed: [PATCH] build: Use -nostdinc generating macro_list [PR109522]

2023-05-06 Thread Xi Ruoyao via Gcc-patches
On Sat, 2023-04-29 at 12:05 -0600, Jeff Law wrote: > > > On 4/15/23 06:01, Xi Ruoyao via Gcc-patches wrote: > > This prevents a spurious message building a cross-compiler when > > target > > libc is not installed yet: > > > > cc1: error: no include path in which to search for stdc- > > pred

Re: [PATCH] build: Use -nostdinc generating macro_list [PR109522]

2023-04-29 Thread Jeff Law via Gcc-patches
On 4/15/23 06:01, Xi Ruoyao via Gcc-patches wrote: This prevents a spurious message building a cross-compiler when target libc is not installed yet: cc1: error: no include path in which to search for stdc-predef.h As stdc-predef.h was added to define __STDC_* macros by libc, it's unlike

[PATCH] build: Use -nostdinc generating macro_list [PR109522]

2023-04-15 Thread Xi Ruoyao via Gcc-patches
This prevents a spurious message building a cross-compiler when target libc is not installed yet: cc1: error: no include path in which to search for stdc-predef.h As stdc-predef.h was added to define __STDC_* macros by libc, it's unlikely the header will ever contain some bad definitions w/o