[ 
https://issues.apache.org/jira/browse/STDCXX-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497063
 ] 

Martin Sebor commented on STDCXX-420:
-------------------------------------

Because we're using -nostdinc++ to eliminate them from the preprocessor search 
path (see $BUILDDIR/include/config.log). We don't want to find them. The answer 
to your next question I anticipate is coming: "Then why do we look for them?" 
is that we used to want to find and use them with some compilers in the past 
but ran into problems due to clashes with the native C++ Standard Library 
implementation and so there is no such compiler today. I think this part of the 
infrastructure (checking for the C++ libc headers) could be removed.

> Configuration scripts should check for standard C++ headers using g++ instead 
> of gcc.
> -------------------------------------------------------------------------------------
>
>                 Key: STDCXX-420
>                 URL: https://issues.apache.org/jira/browse/STDCXX-420
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 4.1.3
>         Environment: All GCC supported platforms.
>            Reporter: Eric Lemings
>             Fix For: 4.2
>
>
> Configuration scripts will never find standard C++ headers using gcc.  g++ 
> should be used instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to