This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/65852] Incorrect escaping in depfiles
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 22 Apr 2015 23:12:40 +0000
- Subject: [Bug preprocessor/65852] Incorrect escaping in depfiles
- Auto-submitted: auto-generated
- References: <bug-65852-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65852
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is what the comment says in the source:
/* Given a filename, quote characters in that filename which are
significant to Make. Note that it's not possible to quote all such
characters - e.g. \n, %, *, ?, [, \ (in some contexts), and ~ are
not properly handled. It isn't possible to get this right in any
current version of Make. (??? Still true? Old comment referred to
3.76.1.) */
So maybe there was an issue with make at one point. Basically \ is not mungled
to be what it should be done.