stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: svn commit: r511015 - in /incubator/stdcxx/trunk/tests: include/21.strings.h include/23.containers.h src/23.containers.cpp
Date Wed, 07 Mar 2007 18:04:56 GMT
faridz@apache.org wrote:
> Author: faridz
> Date: Fri Feb 23 08:57:54 2007
> New Revision: 511015
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=511015
> Log:
> 2007-02-23 Farid Zaripov <faridz@kyiv.vdiweb.com>
> 
> 	ChangeLog:
> 	* 21.strings.h: #included 23.containers.h;
> 	struct StringIds inherited from struct ContainerIds;
> 	removed definitions of the AllocId and IteratorId.
> 	* 23.containers.h: New file with definitions of helpers used
> 	in clause 23 tests.
> 	* 23.containers.cpp: Ditto.
[...]
> Added: incubator/stdcxx/trunk/tests/src/23.containers.cpp
> URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/src/23.containers.cpp?view=auto&rev=511015
> ==============================================================================
> --- incubator/stdcxx/trunk/tests/src/23.containers.cpp (added)
> +++ incubator/stdcxx/trunk/tests/src/23.containers.cpp Fri Feb 23 08:57:54 2007
> @@ -0,0 +1,1180 @@
[...]
> +
> +// temporary, shuld be defined in 23.list.h
> +struct ListIds : ContainerIds
> +{
> +    enum OverloadId {};
> +};

As an FYI, the (well-formed) empty enumeration is causing aCC
to issue a warning. There are other warnings in the test driver
and the test suite so it's not a huge deal but it would be nice
to clean them up and have warning-free builds. To that end we
should probably add a dummy enumerator to OverloadId.

aCC -c -I$(TOPDIR)/include/ansi -I/usr/include  -D_RWSTDDEBUG   -mt 
-D_RWSTD_USE_CONFIG -I$(TOPDIR)/include -I$(BUILDDIR)/include 
-I$(TOPDIR)/../rwtest -I$(TOPDIR)/tests/include  -Aa +nostl  -g +d  +w 
+W392 +W655 +W684 +W818 +W819 +W849   $(TOPDIR)/tests/src/23.containers.cpp
Warning 279: "$(TOPDIR)/tests/src/23.containers.cpp", line 523 # 
Enumeration was defined with an empty enumerator list.
         enum OverloadId {};
         ^^^^^^^^^^^^^^^

Martin

Mime
View raw message