[Bug c++/107974] New: compiler can't find source file in path that is longer than 255 characters

2022-12-05 Thread cristian.adam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 Bug ID: 107974 Summary: compiler can't find source file in path that is longer than 255 characters Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: n

[Bug c++/107974] compiler can't find source file in path that is longer than 255 characters

2022-12-05 Thread cristian.adam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 --- Comment #1 from Cristian Adam --- Visual C++ 2022 also suffers from the same problem, see https://developercommunity.visualstudio.com/t/compiler-cant-find-source-file-in-path/10221576 For some reason clang is working fine.

[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters

2022-12-05 Thread cristian.adam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 --- Comment #3 from Cristian Adam --- I've used the manifest tool from Visual C++ (mt.exe) to inject this manifest: http://schemas.microsoft.com/SMI/2016/WindowsSettings";> true with the command line: mt.exe -nologo -man

[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters

2022-12-05 Thread cristian.adam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 --- Comment #4 from Cristian Adam --- The manifest file is being mentioned at https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry

[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters

2022-12-05 Thread cristian.adam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 --- Comment #5 from Cristian Adam --- Created attachment 54016 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54016&action=edit gcc long path working