[Bug preprocessor/64965] __FILE__ doesn't work if the filename contains newline

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 29 11:36:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64965

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-09-29
     Ever confirmed|0                           |1

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Rasmus Villemoes from comment #1)
> Created attachment 34693 [details]
> Make __FILE__ work for filenames containing newline

Please post this patch to gcc-patches@gcc.gnu.org for review - thanks!

https://gcc.gnu.org/contribute.html#patches


More information about the Gcc-bugs mailing list