Re: [PATCH] RISC-V: Rename conflicting variables in gen-riscv-ext-texi.cc

2025-05-19 Thread Kito Cheng
Committed to trunk, thanks :) On Mon, May 19, 2025 at 10:44 AM Songhe Zhu wrote: > > From: zhusonghe > > The variables `major` and `minor` in `gen-riscv-ext-texi.cc` > conflict with the macros of the same name defined in ``, > which are exposed when building with newer versions of GCC on older >

[PATCH] RISC-V: Rename conflicting variables in gen-riscv-ext-texi.cc

2025-05-18 Thread Songhe Zhu
From: zhusonghe The variables `major` and `minor` in `gen-riscv-ext-texi.cc` conflict with the macros of the same name defined in ``, which are exposed when building with newer versions of GCC on older Linux distributions (e.g., Ubuntu 18.04). To resolve this, we rename them to `major_version` an

[PATCH] RISC-V: Rename conflicting variables in gen-riscv-ext-texi.cc

2025-05-18 Thread Songhe Zhu
From: zhusonghe The variables `major` and `minor` in `gen-riscv-ext-texi.cc` conflict with the macros of the same name defined in ``, which are exposed when building with newer versions of GCC on older Linux distributions (e.g., Ubuntu 18.04). To resolve this, we rename them to `major_version` an