From: Lloyd Zslnka <lzslnka@rim.com>
To: "boost-users@lists.boost.org" <boost-users@lists.boost.org>
Sent: Thu, 28 January, 2010 18:10:26
Subject: [Boost-users] [Boost Circular Buffer] Warning C4099 when compiling with
boost/circular_buffer.hpp
Boost Version: 1.35.0
Compiler: Visual
Studio 2008 Version 9.0.30729.1 SP
OS: Windows
XP SP3
Hello,
I’m compiling boost/circular_buffer.hpp with my
project and am getting the following warning message:
...\boost\boost_1_35_0\boost\circular_buffer\base.hpp(180)
: warning C4099: 'boost::cb_details::iterator' : type name first seen using
'class' now seen using 'struct'
...\boost\boost_1_35_0\boost\circular_buffer\details.hpp(187)
: see declaration of 'boost::cb_details::iterator'
...\boost\boost_1_35_0\boost\circular_buffer\base.hpp(2477)
: see reference to class template instantiation
'boost::circular_buffer<T,Alloc>' being compiled
In looking at details.hpp, I see that iterator is declared
as a class on line 187, but in base.hpp it is declared as a struct on line 180.
Is this a mistake or am I missing something?
Thanks,
Lloyd
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.