 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Sat Mar 04, 2006 3:03 pm Post subject: Dinkumware STL <set> in BCB2006 |
|
|
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
|
Posted: Mon Mar 06, 2006 8:03 am Post subject: Re: Dinkumware STL <set> in BCB2006 |
|
|
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
|
Posted: Mon Mar 06, 2006 1:03 pm Post subject: Re: Dinkumware STL <set> in BCB2006 |
|
|
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
|
Posted: Tue Mar 07, 2006 6:03 pm Post subject: Re: Dinkumware STL <set> in BCB2006 |
|
|
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
|
Posted: Tue Mar 07, 2006 7:03 pm Post subject: Re: Dinkumware STL <set> in BCB2006 |
|
|
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 |
|
 |
|
|
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
|
|