Re: [PATCH] tools/libxl: do not use `-c -E` compiler options together

2025-04-10 Thread Anthony PERARD
On Mon, Apr 07, 2025 at 01:09:38PM +0200, Roger Pau Monne wrote: > It makes no sense to request for preprocessor only output and also request > object file generation. Fix the _libxl.api-for-check target to only use > -E (preprocessor output). > > Also Clang 20.0 reports an error if both options a

Re: [PATCH] tools/libxl: do not use `-c -E` compiler options together

2025-04-07 Thread Andrew Cooper
On 07/04/2025 12:09 pm, Roger Pau Monne wrote: > It makes no sense to request for preprocessor only output and also request > object file generation. Fix the _libxl.api-for-check target to only use > -E (preprocessor output). > > Also Clang 20.0 reports an error if both options are used. > > Repor

[PATCH] tools/libxl: do not use `-c -E` compiler options together

2025-04-07 Thread Roger Pau Monne
It makes no sense to request for preprocessor only output and also request object file generation. Fix the _libxl.api-for-check target to only use -E (preprocessor output). Also Clang 20.0 reports an error if both options are used. Reported-by: Andrew Cooper Fixes: 2862bf5b6c81 ('libxl: enforce