You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Martin Sebor <se...@roguewave.com> on 2008/03/26 19:41:06 UTC

Re: svn commit: r640122 - /stdcxx/trunk/include/ansi/climits

Travis Vitek wrote:
> 
> sebor-2 wrote:
>> Author: sebor
>> Date: Sat Mar 22 16:45:59 2008
>> New Revision: 640122
>>
>> URL: http://svn.apache.org/viewvc?rev=640122&view=rev
>> Log:
>> 2008-03-22  Martin Sebor  <se...@roguewave.com>
>>
>> 	STDCXX-768
>> 	* include/ansi/climits: Used gcc's #include_next to include
>> 	the compiler's <limits.h> header and to prevent the gcc 4.3
>> 	error: no include path in which to search for limits.h.
>>
>> Modified:
>>     stdcxx/trunk/include/ansi/climits
>>
> 
> This change causes a new warning to appear when building tests/examples. We
> may want to suppress it...

I noticed it too. I have a fix ready to commit in one of
my local copies somewhere. Let me find it and check it in.

Thanks for the heads up!

Martin

> 
> $ gcc --version && gmake 22.locale.codecvt.out.o
> gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> gcc -c -I/amd/devco/vitek/stdcxx/trunk/include/ansi -D_RWSTDDEBUG
> -I/amd/devco/vitek/stdcxx/trunk/include -I/build/vitek/11s/include
> -I/amd/devco/vitek/stdcxx/trunk/tests/include -pedantic -nostdinc++ -g -m32
> -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long
> -Wcast-align
> /amd/devco/vitek/stdcxx/trunk/tests/localization/22.locale.codecvt.out.cpp
> In file included from
> /nfs/devco/vitek/stdcxx/trunk/tests/localization/22.locale.codecvt.out.cpp:36:
> /nfs/devco/vitek/stdcxx/trunk/include/ansi/climits:108:6: warning:
> #include_next is a GCC extension
> $
>