[Bug c++/115190] -fmodule-mapper does not accept CRLF files
peter0x44 at disroot dot org
gcc-bugzilla@gcc.gnu.org
Fri May 24 13:21:43 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115190
--- Comment #8 from Peter Damianov <peter0x44 at disroot dot org> ---
I have been totally unable to reproduce this outside of MSYS2, with any
compilers I built myself. The "MSYS2 MSYS" shell also doesn't have this
problem.
I can't explain why. I tried investigating, but didn't have success.
Peter@DESKTOP-1SHN9FA UCRT64 ~
$ g++ -std=c++20 -fmodules-ts -fmodule-mapper=a.modmap -E -o /dev/null -x c++
/dev/null
nul: error: failed reading mapper 'a.modmap'
Peter@DESKTOP-1SHN9FA UCRT64 ~
$ /c/Users/Peter/3D\ Objects/mydevkit/bin/g++ -B /c/Users/Peter/3D\
Objects/mydevkit/bin/ -std=c++20 -fmodules-ts -fmodule-mapper=a.modmap -E -o
/dev/null -x c++ /dev/null
Peter@DESKTOP-1SHN9FA UCRT64 ~
$ g++ -B /c/Users/Peter/3D\ Objects/mydevkit/bin/ -std=c++20 -fmodules-ts
-fmodule-mapper=a.modmap -E -o /dev/null -x c++ /dev/null
nul: error: failed reading mapper 'a.modmap'
More information about the Gcc-bugs
mailing list