Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost Circular Buffer] Warning C4099 when compiling with boost/circular_buffer.hpp
From: Lloyd Zslnka (lzslnka_at_[hidden])
Date: 2010-01-28 13:25:43


Hi Jan,

Excellent! I’d previously looked at newer versions, but didn’t see any changes – I’ll have a look at 1.41.0.

Thanks for the quick reply!

Lloyd

From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Jan Gaspar
Sent: Thursday, January 28, 2010 1:21 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] [Boost Circular Buffer] Warning C4099 when compiling with boost/circular_buffer.hpp

Hi Lloyd,

This has been fixed in later versions of the boost library. Try boost version 1.41.0 if you can.

Regards,

Jan
________________________________
From: Lloyd Zslnka <lzslnka_at_[hidden]>
To: "boost-users_at_[hidden]" <boost-users_at_[hidden]>
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.


---------------------------------------------------------------------
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.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net