public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug web/103877] New: libstdc++ docs give a bad recommendation for printing C++ defines
@ 2021-12-31 14:43 blubban at gmail dot com
2021-12-31 18:59 ` [Bug libstdc++/103877] " redi at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: blubban at gmail dot com @ 2021-12-31 14:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103877
Bug ID: 103877
Summary: libstdc++ docs give a bad recommendation for printing
C++ defines
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: web
Assignee: unassigned at gcc dot gnu.org
Reporter: blubban at gmail dot com
Target Milestone: ---
https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.predefined
> You can also run g++ -E -dM - < /dev/null" to display a
> list of predefined macros for any particular installation.
Issue 1: The unmatched quote.
Issue 2: g++ -E defaults to C mode, where _GNU_SOURCE is, in fact, not defined.
The correct command is g++ -E -dM -xc++ - < /dev/null
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/103877] libstdc++ docs give a bad recommendation for printing C++ defines
2021-12-31 14:43 [Bug web/103877] New: libstdc++ docs give a bad recommendation for printing C++ defines blubban at gmail dot com
@ 2021-12-31 18:59 ` redi at gcc dot gnu.org
2022-01-05 13:47 ` cvs-commit at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2021-12-31 18:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103877
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |documentation
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-12-31
Ever confirmed|0 |1
Component|web |libstdc++
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Confirmed.
"g++ -E -dM -x c++ /dev/null" is simpler.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/103877] libstdc++ docs give a bad recommendation for printing C++ defines
2021-12-31 14:43 [Bug web/103877] New: libstdc++ docs give a bad recommendation for printing C++ defines blubban at gmail dot com
2021-12-31 18:59 ` [Bug libstdc++/103877] " redi at gcc dot gnu.org
@ 2022-01-05 13:47 ` cvs-commit at gcc dot gnu.org
2022-01-05 13:50 ` redi at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-05 13:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103877
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:cebe875f6f44b905a0d56a2007b5a638a33a893c
commit r12-6259-gcebe875f6f44b905a0d56a2007b5a638a33a893c
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Jan 4 15:54:16 2022 +0000
libstdc++: Fix example preprocessor command in FAQ [PR103877]
libstdc++-v3/ChangeLog:
PR libstdc++/103877
* doc/xml/faq.xml: Add '-x c++' to preprocessor command.
* doc/html/faq.html: Regenerate.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/103877] libstdc++ docs give a bad recommendation for printing C++ defines
2021-12-31 14:43 [Bug web/103877] New: libstdc++ docs give a bad recommendation for printing C++ defines blubban at gmail dot com
2021-12-31 18:59 ` [Bug libstdc++/103877] " redi at gcc dot gnu.org
2022-01-05 13:47 ` cvs-commit at gcc dot gnu.org
@ 2022-01-05 13:50 ` redi at gcc dot gnu.org
2022-01-05 22:07 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2022-01-05 13:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103877
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Target Milestone|--- |12.0
Resolution|--- |FIXED
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed on trunk.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/103877] libstdc++ docs give a bad recommendation for printing C++ defines
2021-12-31 14:43 [Bug web/103877] New: libstdc++ docs give a bad recommendation for printing C++ defines blubban at gmail dot com
` (2 preceding siblings ...)
2022-01-05 13:50 ` redi at gcc dot gnu.org
@ 2022-01-05 22:07 ` cvs-commit at gcc dot gnu.org
2022-01-05 22:07 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-05 22:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103877
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:
https://gcc.gnu.org/g:88518e5ae0c7b4ed87ffa4ba39c1ff93c7d146dd
commit r10-10380-g88518e5ae0c7b4ed87ffa4ba39c1ff93c7d146dd
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Jan 4 15:54:16 2022 +0000
libstdc++: Fix example preprocessor command in FAQ [PR103877]
libstdc++-v3/ChangeLog:
PR libstdc++/103877
* doc/xml/faq.xml: Add '-x c++' to preprocessor command.
* doc/html/faq.html: Regenerate.
(cherry picked from commit cebe875f6f44b905a0d56a2007b5a638a33a893c)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/103877] libstdc++ docs give a bad recommendation for printing C++ defines
2021-12-31 14:43 [Bug web/103877] New: libstdc++ docs give a bad recommendation for printing C++ defines blubban at gmail dot com
` (3 preceding siblings ...)
2022-01-05 22:07 ` cvs-commit at gcc dot gnu.org
@ 2022-01-05 22:07 ` cvs-commit at gcc dot gnu.org
2022-01-05 22:08 ` redi at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-05 22:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103877
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:
https://gcc.gnu.org/g:39e5b756e1412a399613d7df25d8730e7de1d989
commit r11-9439-g39e5b756e1412a399613d7df25d8730e7de1d989
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Jan 4 15:54:16 2022 +0000
libstdc++: Fix example preprocessor command in FAQ [PR103877]
libstdc++-v3/ChangeLog:
PR libstdc++/103877
* doc/xml/faq.xml: Add '-x c++' to preprocessor command.
* doc/html/faq.html: Regenerate.
(cherry picked from commit cebe875f6f44b905a0d56a2007b5a638a33a893c)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/103877] libstdc++ docs give a bad recommendation for printing C++ defines
2021-12-31 14:43 [Bug web/103877] New: libstdc++ docs give a bad recommendation for printing C++ defines blubban at gmail dot com
` (4 preceding siblings ...)
2022-01-05 22:07 ` cvs-commit at gcc dot gnu.org
@ 2022-01-05 22:08 ` redi at gcc dot gnu.org
2022-05-09 16:39 ` cvs-commit at gcc dot gnu.org
2022-05-09 19:44 ` redi at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2022-01-05 22:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103877
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|12.0 |10.4
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/103877] libstdc++ docs give a bad recommendation for printing C++ defines
2021-12-31 14:43 [Bug web/103877] New: libstdc++ docs give a bad recommendation for printing C++ defines blubban at gmail dot com
` (5 preceding siblings ...)
2022-01-05 22:08 ` redi at gcc dot gnu.org
@ 2022-05-09 16:39 ` cvs-commit at gcc dot gnu.org
2022-05-09 19:44 ` redi at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-05-09 16:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103877
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:
https://gcc.gnu.org/g:dae73190d42a8074cc393c759338942d0de8b2bd
commit r9-10054-gdae73190d42a8074cc393c759338942d0de8b2bd
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Jan 4 15:54:16 2022 +0000
libstdc++: Fix example preprocessor command in FAQ [PR103877]
libstdc++-v3/ChangeLog:
PR libstdc++/103877
* doc/xml/faq.xml: Add '-x c++' to preprocessor command.
* doc/html/faq.html: Regenerate.
(cherry picked from commit cebe875f6f44b905a0d56a2007b5a638a33a893c)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/103877] libstdc++ docs give a bad recommendation for printing C++ defines
2021-12-31 14:43 [Bug web/103877] New: libstdc++ docs give a bad recommendation for printing C++ defines blubban at gmail dot com
` (6 preceding siblings ...)
2022-05-09 16:39 ` cvs-commit at gcc dot gnu.org
@ 2022-05-09 19:44 ` redi at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2022-05-09 19:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103877
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |9.5
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-05-09 19:44 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-31 14:43 [Bug web/103877] New: libstdc++ docs give a bad recommendation for printing C++ defines blubban at gmail dot com
2021-12-31 18:59 ` [Bug libstdc++/103877] " redi at gcc dot gnu.org
2022-01-05 13:47 ` cvs-commit at gcc dot gnu.org
2022-01-05 13:50 ` redi at gcc dot gnu.org
2022-01-05 22:07 ` cvs-commit at gcc dot gnu.org
2022-01-05 22:07 ` cvs-commit at gcc dot gnu.org
2022-01-05 22:08 ` redi at gcc dot gnu.org
2022-05-09 16:39 ` cvs-commit at gcc dot gnu.org
2022-05-09 19:44 ` redi at gcc dot gnu.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).