Bug 56544 - documentation for __cplusplus is out of date
Summary: documentation for __cplusplus is out of date
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.7.3
: P3 normal
Target Milestone: 4.8.2
Assignee: Paolo Carlini
URL:
Keywords: documentation
Depends on:
Blocks:
 
Reported: 2013-03-05 18:25 UTC by Josh Stone
Modified: 2013-06-19 09:04 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2013-03-05 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Stone 2013-03-05 18:25:45 UTC
The "Standard Predefined Macros" documentation states that __cplusplus is always 1, when in fact it can now be either 199711L or 201103L (thanks to PR1773).
Comment 1 Jonathan Wakely 2013-03-05 18:37:27 UTC
confirmed
Comment 2 Paolo Carlini 2013-06-07 20:49:52 UTC
Mine.
Comment 3 Paolo Carlini 2013-06-19 09:04:59 UTC
Fixed mainline and 4.8.2.