Re: [RFC] libstdc++: Generate error_constants.h from [PR104883]

2022-10-04 Thread Jonathan Wakely via Gcc-patches
On Tue, 4 Oct 2022 at 19:05, Jonathan Wakely wrote: > > On Tue, 4 Oct 2022 at 17:51, Jonathan Wakely via Libstdc++ > wrote: > > > > Does anybody see any issues with generating the list of error numbers at > > build time? > > > > > > -- >8 -- > > > > Instead of having several very similar target-sp

Re: [RFC] libstdc++: Generate error_constants.h from [PR104883]

2022-10-04 Thread Jonathan Wakely via Gcc-patches
On Tue, 4 Oct 2022 at 17:51, Jonathan Wakely via Libstdc++ wrote: > > Does anybody see any issues with generating the list of error numbers at > build time? > > > -- >8 -- > > Instead of having several very similar target-specific headers with > slightly different sets of enumerators, generate the

[RFC] libstdc++: Generate error_constants.h from [PR104883]

2022-10-04 Thread Jonathan Wakely via Gcc-patches
Does anybody see any issues with generating the list of error numbers at build time? -- >8 -- Instead of having several very similar target-specific headers with slightly different sets of enumerators, generate the error_constants.h file as part of the build. This ensures that all enumerators ar