public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28448]  New: doc reference to -fdiagnostics-show-options looks like it should be -fdiagnostics-show-option
@ 2006-07-20 19:44 peeterj at ca dot ibm dot com
  2006-10-04 10:21 ` [Bug c++/28448] " rsandifo at gcc dot gnu dot org
  2006-10-05  4:39 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: peeterj at ca dot ibm dot com @ 2006-07-20 19:44 UTC (permalink / raw)
  To: gcc-bugs

docs describe:

http://gcc.gnu.org/onlinedocs/gcc/Language-Independent-Options.html#Language-Independent-Options

-fdiagnostics-show-options
    This option instructs the diagnostic machinery to add text to each
diagnostic emitted, which indicates which command line option directly controls
that diagnostic, when such an option is known to the diagnostic machinery.

however, it appears that the option name is actually:

-fdiagnostics-show-option

and an attempt to use options (plural) yields:

cc1plus: error: unrecognized command line option "-fdiagnostics-show-options"


g++ -v output:

Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.1.1/configure --enable-threads=posix
--prefix=/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1 --enable-languages=c,c++
--enable-shared --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.1

/view/peeterj_hc/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.1.1/cc1plus
-quiet -v -iprefix
/view/peeterj_hc/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.1.1/
-D_GNU_SOURCE t.c -quiet -dumpbase t.c -mtune=k8 -auxbase t -version
-fdiagnostics-show-options -o /home/peeterj/tmp/cc7r36nu.s
cc1plus: error: unrecognized command line option "-fdiagnostics-show-options"
ignoring nonexistent directory
"/view/peeterj_hc/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../x86_64-unknown-linux-gnu/include"
ignoring duplicate directory
"/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../include/c++/4.1.1"
ignoring duplicate directory
"/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../include/c++/4.1.1/x86_64-unknown-linux-gnu"
ignoring duplicate directory
"/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../include/c++/4.1.1/backward"
ignoring duplicate directory
"/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/include"
ignoring nonexistent directory
"/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:

/view/peeterj_hc/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../include/c++/4.1.1

/view/peeterj_hc/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../include/c++/4.1.1/x86_64-unknown-linux-gnu

/view/peeterj_hc/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../../include/c++/4.1.1/backward

/view/peeterj_hc/vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.1.1/include
 /usr/local/include
 /vbs/bldsupp.linux1/linuxamd64/gcc4.1.1/include
 /usr/include
End of search list.
GNU C++ version 4.1.1 (x86_64-unknown-linux-gnu)
        compiled by GNU C version 3.3.3 (SuSE Linux).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072


sample source code and command line:

gcc4.1.1/bin/g++ -fdiagnostics-show-options -c t.c 

t.c:

int main(){}


-- 
           Summary: doc reference to -fdiagnostics-show-options looks like
                    it should be -fdiagnostics-show-option
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: peeterj at ca dot ibm dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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


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

* [Bug c++/28448] doc reference to -fdiagnostics-show-options looks like it should be -fdiagnostics-show-option
  2006-07-20 19:44 [Bug c++/28448] New: doc reference to -fdiagnostics-show-options looks like it should be -fdiagnostics-show-option peeterj at ca dot ibm dot com
@ 2006-10-04 10:21 ` rsandifo at gcc dot gnu dot org
  2006-10-05  4:39 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rsandifo at gcc dot gnu dot org @ 2006-10-04 10:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rsandifo at gcc dot gnu dot org  2006-10-04 10:21 -------
Subject: Bug 28448

Author: rsandifo
Date: Wed Oct  4 10:21:08 2006
New Revision: 117429

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117429
Log:
2006-10-02  Ryan Mansfield  <rmansfield@qnx.com>

        PR c++/28448
        * doc/invoke.texi (fdiagnostics-show-option): Fix typos.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/invoke.texi


-- 


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


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

* [Bug c++/28448] doc reference to -fdiagnostics-show-options looks like it should be -fdiagnostics-show-option
  2006-07-20 19:44 [Bug c++/28448] New: doc reference to -fdiagnostics-show-options looks like it should be -fdiagnostics-show-option peeterj at ca dot ibm dot com
  2006-10-04 10:21 ` [Bug c++/28448] " rsandifo at gcc dot gnu dot org
@ 2006-10-05  4:39 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-05  4:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-10-05 04:39 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-10-05  4:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-20 19:44 [Bug c++/28448] New: doc reference to -fdiagnostics-show-options looks like it should be -fdiagnostics-show-option peeterj at ca dot ibm dot com
2006-10-04 10:21 ` [Bug c++/28448] " rsandifo at gcc dot gnu dot org
2006-10-05  4:39 ` pinskia at gcc dot gnu 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).