public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107974] New: compiler can't find source file in path that is longer than 255 characters
@ 2022-12-05 16:10 cristian.adam at gmail dot com
  2022-12-05 16:14 ` [Bug c++/107974] " cristian.adam at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: cristian.adam at gmail dot com @ 2022-12-05 16:10 UTC (permalink / raw)
  To: 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: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: cristian.adam at gmail dot com
  Target Milestone: ---

Created attachment 54013
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54013&action=edit
clang long path

Given the following path "c:\Projects\C++\this is a rather long path for a path
on windows where long paths are a problem with the limit of two hundred fifty
characters but there is a solution which implies adding a registry key and
configuring the project to include a manifest\hello.cpp"

g++ (x86_64-posix-seh-rev1, Built by MinGW-W64 project) 12.2.0 is not able to
compile the source file.

The error reported is:
cc1plus.exe: fatal error: hello.cpp: No such file or directory

Note that LLVM MinGW 15.0.0's clang.exe was able to compile the file just fine.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-12-28 21:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-05 16:10 [Bug c++/107974] New: compiler can't find source file in path that is longer than 255 characters cristian.adam at gmail dot com
2022-12-05 16:14 ` [Bug c++/107974] " cristian.adam at gmail dot com
2022-12-05 16:23 ` pinskia at gcc dot gnu.org
2022-12-05 16:44 ` [Bug preprocessor/107974] " cristian.adam at gmail dot com
2022-12-05 16:45 ` cristian.adam at gmail dot com
2022-12-05 16:48 ` cristian.adam at gmail dot com
2022-12-05 16:51 ` pinskia at gcc dot gnu.org
2022-12-28 21:30 ` nightstrike at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).