Re: [PATCH] lto: Fix build on MacOS

2024-06-07 Thread Richard Biener
> Am 07.06.2024 um 16:30 schrieb Simon Martin : > > The build fails on x86_64-apple-darwin19.6.0 starting with 5b6d5a886ee > because > vector is included after system.h and runs into poisoned identifiers. > > This patch fixes this by defining INCLUDE_VECTOR before including system.h. Ok >

[PATCH] lto: Fix build on MacOS

2024-06-07 Thread Simon Martin
The build fails on x86_64-apple-darwin19.6.0 starting with 5b6d5a886ee because vector is included after system.h and runs into poisoned identifiers. This patch fixes this by defining INCLUDE_VECTOR before including system.h. Validated by doing a full build on x86_64-apple-darwin19.6.0. gcc/lto/C