public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/51067] New: cpp.texi Line Control node not mentioning #, trailing integers
@ 2011-11-09 19:45 karl at freefriends dot org
  2011-11-09 20:14 ` [Bug preprocessor/51067] " joseph at codesourcery dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: karl at freefriends dot org @ 2011-11-09 19:45 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51067
           Summary: cpp.texi Line Control node not mentioning #, trailing
                    integers
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: karl@freefriends.org


In the Line Control node in cpp.texi, I do not see any mention of the
(long-used) form
# 1 "foo.c"
That is, # instead of #line.

Also, I do not see any description of the trailing integers now sometimes
present in the CPP output, as in:
# 1 "/usr/include/bits/sys_errlist.h" 1 3 4

(I looked around in the rest of the manual and other manuals too, to no avail. 
If the info is present elsewhere, at least an xref from Line Control would seem
useful.)

Thanks,
Karl


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

* [Bug preprocessor/51067] cpp.texi Line Control node not mentioning #, trailing integers
  2011-11-09 19:45 [Bug preprocessor/51067] New: cpp.texi Line Control node not mentioning #, trailing integers karl at freefriends dot org
@ 2011-11-09 20:14 ` joseph at codesourcery dot com
  2011-11-09 20:17 ` pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: joseph at codesourcery dot com @ 2011-11-09 20:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-11-09 19:45:32 UTC ---
On Wed, 9 Nov 2011, karl at freefriends dot org wrote:

> Also, I do not see any description of the trailing integers now sometimes
> present in the CPP output, as in:
> # 1 "/usr/include/bits/sys_errlist.h" 1 3 4

See "Preprocessor Output" in cpp.texi.

@cindex linemarkers
Source file name and line number information is conveyed by lines
of the form

@smallexample
# @var{linenum} @var{filename} @var{flags}
@end smallexample
[...]


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

* [Bug preprocessor/51067] cpp.texi Line Control node not mentioning #, trailing integers
  2011-11-09 19:45 [Bug preprocessor/51067] New: cpp.texi Line Control node not mentioning #, trailing integers karl at freefriends dot org
  2011-11-09 20:14 ` [Bug preprocessor/51067] " joseph at codesourcery dot com
@ 2011-11-09 20:17 ` pinskia at gcc dot gnu.org
  2011-11-10  0:31 ` karl at freefriends dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-11-09 20:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-11-09 19:49:05 UTC ---
http://gcc.gnu.org/onlinedocs/gcc-4.6.2/cpp/Preprocessor-Output.html#Preprocessor-Output


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

* [Bug preprocessor/51067] cpp.texi Line Control node not mentioning #, trailing integers
  2011-11-09 19:45 [Bug preprocessor/51067] New: cpp.texi Line Control node not mentioning #, trailing integers karl at freefriends dot org
  2011-11-09 20:14 ` [Bug preprocessor/51067] " joseph at codesourcery dot com
  2011-11-09 20:17 ` pinskia at gcc dot gnu.org
@ 2011-11-10  0:31 ` karl at freefriends dot org
  2012-01-06  0:38 ` pinskia at gcc dot gnu.org
  2012-01-06 22:44 ` karl at freefriends dot org
  4 siblings, 0 replies; 6+ messages in thread
From: karl at freefriends dot org @ 2011-11-10  0:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from karl at freefriends dot org 2011-11-09 23:10:09 UTC ---
> See "Preprocessor Output" in cpp.texi.

Thanks much.  That's all the information, for sure.  Glad to see it.  may I
suggest an xref in Line Control?


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

* [Bug preprocessor/51067] cpp.texi Line Control node not mentioning #, trailing integers
  2011-11-09 19:45 [Bug preprocessor/51067] New: cpp.texi Line Control node not mentioning #, trailing integers karl at freefriends dot org
                   ` (2 preceding siblings ...)
  2011-11-10  0:31 ` karl at freefriends dot org
@ 2012-01-06  0:38 ` pinskia at gcc dot gnu.org
  2012-01-06 22:44 ` karl at freefriends dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-06  0:38 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-06 00:38:00 UTC ---
This is already documented so no need to add documentation (again).


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

* [Bug preprocessor/51067] cpp.texi Line Control node not mentioning #, trailing integers
  2011-11-09 19:45 [Bug preprocessor/51067] New: cpp.texi Line Control node not mentioning #, trailing integers karl at freefriends dot org
                   ` (3 preceding siblings ...)
  2012-01-06  0:38 ` pinskia at gcc dot gnu.org
@ 2012-01-06 22:44 ` karl at freefriends dot org
  4 siblings, 0 replies; 6+ messages in thread
From: karl at freefriends dot org @ 2012-01-06 22:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from karl at freefriends dot org 2012-01-06 22:43:44 UTC ---
may I suggest an xref in Line Control?  That was the obvious place to look.  To
me.


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

end of thread, other threads:[~2012-01-06 22:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-09 19:45 [Bug preprocessor/51067] New: cpp.texi Line Control node not mentioning #, trailing integers karl at freefriends dot org
2011-11-09 20:14 ` [Bug preprocessor/51067] " joseph at codesourcery dot com
2011-11-09 20:17 ` pinskia at gcc dot gnu.org
2011-11-10  0:31 ` karl at freefriends dot org
2012-01-06  0:38 ` pinskia at gcc dot gnu.org
2012-01-06 22:44 ` karl at freefriends dot org

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).