https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119146
Bug ID: 119146
Summary: Documentation missing for the OBJCPLUS_INCLUDE_PATH
environment variable
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: objc++
Assignee: unassigned at gcc dot gnu.org
Reporter: tom at honermann dot net
Target Milestone: ---
GCC's environment variable documentation
(https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html#index-CPATH) is
missing an entry for the `OBJCPLUS_INCLUDE_PATH` environment variable.
The documentation source actually has an entry for this environment variable,
but it is commented out
(https://github.com/gcc-mirror/gcc/blob/d2b022e38a778d64350f4d4236a2c8a36e0e621c/gcc/doc/cppenv.texi#L17-L18).
```
gcc/gcc/doc/cppenv.texi:
17 @c Commented out until ObjC++ is part of GCC:
18 @c @itemx OBJCPLUS_INCLUDE_PATH
```
GCC has implemented support for `OBJCPLUS_INCLUDE_PATH` since at least 2003
(https://github.com/gcc-mirror/gcc/blob/d2b022e38a778d64350f4d4236a2c8a36e0e621c/gcc/incpath.cc#L496).
I don't know when Objective C++ was officially deemed part of GCC, but I think
it was a long time ago now and that the comment above is quite stale.