Author: sebor Date: Wed Mar 26 11:51:14 2008 New Revision: 641478 URL: http://svn.apache.org/viewvc?rev=641478&view=rev Log: 2008-03-26 Martin Sebor <[EMAIL PROTECTED]>
* include/ansi/climits [__GNUC__ >= 3]: Silenced gcc warnings issued for uses of the #include_next extension introduced in the process of resolving STDCXX-768. Modified: stdcxx/trunk/include/ansi/climits Modified: stdcxx/trunk/include/ansi/climits URL: http://svn.apache.org/viewvc/stdcxx/trunk/include/ansi/climits?rev=641478&r1=641477&r2=641478&view=diff ============================================================================== --- stdcxx/trunk/include/ansi/climits (original) +++ stdcxx/trunk/include/ansi/climits Wed Mar 26 11:51:14 2008 @@ -30,7 +30,6 @@ #ifndef _RWSTD_CLIMITS_INCLUDED #define _RWSTD_CLIMITS_INCLUDED - #include <rw/_defs.h> @@ -104,6 +103,11 @@ #else // if defined (_RWSTD_NO_PURE_C_HEADERS) # ifdef __GNUC__ +# if __GNUC__ >= 3 + // silence gcc warnings about #include_next below +# pragma GCC system_header +# endif // gcc >= 3 + // use the gcc extension to #include the compiler's limits.h # include_next <limits.h> # else