[PATCH] c++: Quoting in -fmodules-mapper

2025-08-03 Thread Nicolas Werner
patch was tested manually on my system. gcc/cp/ChangeLog: * mapper-client.cc (spawn_mapper_program): change argv parsing Signed-off-by: Nicolas Werner --- gcc/cp/mapper-client.cc | 46 + 1 file changed, 14 insertions(+), 32 deletions(-) diff --git

Re: [RFC v2] c++: Quoting in -fmodules-mapper [PR110153]

2025-07-13 Thread Nicolas Werner
Am Freitag, 11. Juli 2025, 18:42:34 Mitteleuropäische Sommerzeit schrieb Jason Merrill: > On 7/10/25 4:41 PM, Nicolas Werner wrote: > > Users might be using a space in their build directory path. To allow > > specifying such a root for the module mapper started by GCC, we need the

[RFC v2] c++: Quoting in -fmodules-mapper [PR110153]

2025-07-10 Thread Nicolas Werner
re about how to best deal with spaces in test folders. gcc/cp/ChangeLog: * mapper-client.cc (spawn_mapper_program): change argv parsing PR c++/110153 Signed-off-by: Nicolas Werner --- V1 used wordexp, while this version switches to functionality from libiberty instead, which should be more

[RFC] c++: Quoting in -fmodules-mapper [PR110153]

2025-07-10 Thread Nicolas Werner
ot; GCC can not depend on the function? Do I need to add any system checks? I think it is widely supported, but I am not that familiar with requirements regarding standard library functions. PR c++/110153 Signed-off-by: Nicolas Werner --- gcc/cp/mapper-client.cc | 36 +--

[PATCH] libstdc++: add missing to_underlying to module std [PR106852]

2025-01-04 Thread Nicolas Werner
++-v3/ChangeLog: * src/c++23/std.cc.in: Add std::to_underlying Signed-off-by: Nicolas Werner --- libstdc++-v3/src/c++23/std.cc.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libstdc++-v3/src/c++23/std.cc.in b/libstdc++-v3/src/c++23/std.cc.in index 0e5b41c5b3b..e251c1c1981