This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/45696] Continuation character gets lost or not taken into account
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2010 07:09:39 -0000
- Subject: [Bug preprocessor/45696] Continuation character gets lost or not taken into account
- References: <bug-45696-13747@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2010-09-17 07:09 -------
You can use gcc -E -P, then it doesn't print # <lineno> <file>
lines and puts the label and fn on the same line (as, without the line notes
locations aren't preserved anyway).
As Andrew wrote, gcc -E is a C/C++ preprocessor, and the semantics of
label:
fn (args)
is the same as
label: fn (args)
and the former maintains better the location info.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45696