This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/48383] Line continuations handled incorrectly in 4.5 and above


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48383

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |DUPLICATE

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-31 09:12:03 UTC ---
The C standard doesn't mandate how gcc -E output should look like, and you are
misusing a C preprocessor for purposes it wasn't meant to.
Just use gcc -E -P, then gcc doesn't emit line notes nor tries to provide
accurate line locations of tokens.

*** This bug has been marked as a duplicate of bug 41445 ***


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]