Thread View: borland.public.cppbuilder.upgrade
5 messages
5 total messages
Started by nhmark64
Sat, 04 Mar 2006 13:41
Dinkumware STL <set> in BCB2006
Author: nhmark64
Date: Sat, 04 Mar 2006 13:41
Date: Sat, 04 Mar 2006 13:41
10 lines
1084 bytes
1084 bytes
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
Re: Dinkumware STL <set> in BCB2006
Author: Zara
Date: Mon, 06 Mar 2006 07:19
Date: Mon, 06 Mar 2006 07:19
19 lines
1195 bytes
1195 bytes
On Sat, 04 Mar 2006 08:41:55 -0500, nhmark64@newsgroup.nospam wrote: >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
Re: Dinkumware STL <set> in BCB2006
Author: AlisdairM
Date: Mon, 06 Mar 2006 11:17
Date: Mon, 06 Mar 2006 11:17
29 lines
1502 bytes
1502 bytes
nhmark64@newsgroup.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?
--
AlisdairM(TeamB)
Re: Dinkumware STL <set> in BCB2006
Author: Alisdair Meredith TeamB
Date: Tue, 07 Mar 2006 17:13
Date: Tue, 07 Mar 2006 17:13
10 lines
1175 bytes
1175 bytes
nhmark64@newsgroup.nospam wrote: > 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)
Re: Dinkumware STL <set> in BCB2006
Author: nhmark64
Date: Tue, 07 Mar 2006 17:36
Date: Tue, 07 Mar 2006 17:36
34 lines
1844 bytes
1844 bytes
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@uk.renaultf1.com> wrote:
>nhmark64@newsgroup.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?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads