diff --git a/libstdc++-v3/doc/html/faq.html b/libstdc++-v3/doc/html/faq.html index 967e5f5f348..f49b84c4c33 100644 --- a/libstdc++-v3/doc/html/faq.html +++ b/libstdc++-v3/doc/html/faq.html @@ -456,7 +456,7 @@ CPLUSPLUS_CPP_SPEC in the gcc config headers for your target (and try changing them to see what happens when building complicated code). You can also run - g++ -E -dM - < /dev/null" to display + g++ -E -dM -x c++ /dev/null to display a list of predefined macros for any particular installation.

This has been discussed on the mailing lists quite a bit. diff --git a/libstdc++-v3/doc/xml/faq.xml b/libstdc++-v3/doc/xml/faq.xml index e419d3c22a0..9ae4966ecea 100644 --- a/libstdc++-v3/doc/xml/faq.xml +++ b/libstdc++-v3/doc/xml/faq.xml @@ -580,7 +580,7 @@ CPLUSPLUS_CPP_SPEC in the gcc config headers for your target (and try changing them to see what happens when building complicated code). You can also run - g++ -E -dM - < /dev/null" to display + g++ -E -dM -x c++ /dev/null to display a list of predefined macros for any particular installation. This has been discussed on the mailing lists