I could work around the problem by employing a nasty kludge involving a
modified copy of bits/c++config.h and exploiting a deficiency of the
configuration scanner that makes it possible to specify additional include
search paths for the build that won't be seen by the indexer.