BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dinkumware STL <set> in BCB2006

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Upgrade)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sat Mar 04, 2006 3:03 pm    Post subject: Dinkumware STL <set> in BCB2006 Reply with quote



Hi,

When I try to use <set> is get a bunch of "'size_t' is not a member
of 'std'" errors. I have tried including <algorithm> and <stl.h>,
neither of these files fixed the problem. What else can I try?

Is there anyplace that has BCB2006 samples of Dinkumware STL code?

Thanks,
Mark
Back to top
Zara
Guest





PostPosted: Mon Mar 06, 2006 8:03 am    Post subject: Re: Dinkumware STL <set> in BCB2006 Reply with quote



On Sat, 04 Mar 2006 08:41:55 -0500, nhmark64 (AT) newsgroup (DOT) nospam wrote:

Quote:
Hi,

When I try to use <set> is get a bunch of "'size_t' is not a member
of 'std'" errors. I have tried including <algorithm> and <stl.h>,
neither of these files fixed the problem. What else can I try?

Is there anyplace that has BCB2006 samples of Dinkumware STL code?

Thanks,
Mark


You must include <cstddef>

Regards,

Zara
Back to top
AlisdairM
Guest





PostPosted: Mon Mar 06, 2006 1:03 pm    Post subject: Re: Dinkumware STL <set> in BCB2006 Reply with quote



nhmark64 (AT) newsgroup (DOT) nospam wrote:

Quote:
When I try to use <set> is get a bunch of "'size_t' is not a member
of 'std'" errors. I have tried including <algorithm> and <stl.h>,
neither of these files fixed the problem. What else can I try?

Is there anyplace that has BCB2006 samples of Dinkumware STL code?

Are you using Update 1, or the preview version that shipped with Delphi
2006?

I tried the following code, and it compiled/ran fine with the Update 1
release (build 2166 in Help | About)


#include <set>

int main()
{
std::set< int > x;
return 0;
}


Anything else you can think that might be a cause, such as other STL
libraries installed on your search path?

--
AlisdairM(TeamB)
Back to top
Guest






PostPosted: Tue Mar 07, 2006 6:03 pm    Post subject: Re: Dinkumware STL <set> in BCB2006 Reply with quote

When I cleaned some junk out of my include search path std::set
worked, thanks very much.

Mark

On 6 Mar 2006 04:17:25 -0700, "AlisdairM"
<alisdair.meredith (AT) uk (DOT) renaultf1.com> wrote:

Quote:
nhmark64 (AT) newsgroup (DOT) nospam wrote:

When I try to use <set> is get a bunch of "'size_t' is not a member
of 'std'" errors. I have tried including <algorithm> and <stl.h>,
neither of these files fixed the problem. What else can I try?

Is there anyplace that has BCB2006 samples of Dinkumware STL code?

Are you using Update 1, or the preview version that shipped with Delphi
2006?

I tried the following code, and it compiled/ran fine with the Update 1
release (build 2166 in Help | About)


#include <set

int main()
{
std::set< int > x;
return 0;
}


Anything else you can think that might be a cause, such as other STL
libraries installed on your search path?
Back to top
Alisdair Meredith[TeamB]
Guest





PostPosted: Tue Mar 07, 2006 7:03 pm    Post subject: Re: Dinkumware STL <set> in BCB2006 Reply with quote

nhmark64 (AT) newsgroup (DOT) nospam wrote:

Quote:
When I cleaned some junk out of my include search path std::set
worked, thanks very much.

Great! Those issues can be so hard to find, and I hate just posting
"works for me" as it is often seen as unhelpful ;?)

--
AlisdairM(TeamB)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Upgrade) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.