STLPort anyone ???
-
I've downloaded the latest STLPort and I'm having a hell of a time setting it up. Has anyone had any success/like to give me some pointers ? I've read the readme, I've done the nmake thing and I get it looking for a lib file which I have not built. ARGH !!!!! Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now
-
I've downloaded the latest STLPort and I'm having a hell of a time setting it up. Has anyone had any success/like to give me some pointers ? I've read the readme, I've done the nmake thing and I get it looking for a lib file which I have not built. ARGH !!!!! Christian After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now
Well, man, did the same thing about a half year ago.... and nothing... Now I'm not using STL at all, except what is included in VC. I know it is out-of-date... but for me it's enough :) Philip Patrick "Two beer or not two beer?" Web-site: www.saintopatrick.com
-
Well, man, did the same thing about a half year ago.... and nothing... Now I'm not using STL at all, except what is included in VC. I know it is out-of-date... but for me it's enough :) Philip Patrick "Two beer or not two beer?" Web-site: www.saintopatrick.com
I got it going, I had to uncommet a #define. However, it appears to deviate from the stanard ( size_t is unsigned int instead of int ), and declare stuff in the global namespace. I wrote functor and had to rename it because it crashed with something global introduced by STLPort. The VC STL is quite fine, and still a bajillion times better than awful MFC containers, but we're writing a cross platofrm app, so we need a cross platform STL implimentation. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now
-
I got it going, I had to uncommet a #define. However, it appears to deviate from the stanard ( size_t is unsigned int instead of int ), and declare stuff in the global namespace. I wrote functor and had to rename it because it crashed with something global introduced by STLPort. The VC STL is quite fine, and still a bajillion times better than awful MFC containers, but we're writing a cross platofrm app, so we need a cross platform STL implimentation. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now
Oh, yes, you are right. I had a problem I remember with some define inside STL, that was a reserved word in VC++. Don't remember exactly what it was actually. I just didn't used it in my own code all worked fine, but we have a lot of existing code that used this reserved word, so I didn't want to go and change it in all code of my company... :) Philip Patrick "Two beer or not two beer?" Web-site: www.saintopatrick.com
-
I got it going, I had to uncommet a #define. However, it appears to deviate from the stanard ( size_t is unsigned int instead of int ), and declare stuff in the global namespace. I wrote functor and had to rename it because it crashed with something global introduced by STLPort. The VC STL is quite fine, and still a bajillion times better than awful MFC containers, but we're writing a cross platofrm app, so we need a cross platform STL implimentation. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now
>> ( size_t is unsigned int instead of int ) Isn't "size_t" unsigned by standard???. >> I got it going, I had to uncommet a #define I have neither with VS7 nor with VC6 had any problems installing STLport. You simply should open a DOS box (with VC environment), go into the STLport 'src' directory and run "nmake vc6.mak". >> I wrote functor and had to rename it because it crashed with something global introduced by STLPort. What was the name which caused the conflict?
-
>> ( size_t is unsigned int instead of int ) Isn't "size_t" unsigned by standard???. >> I got it going, I had to uncommet a #define I have neither with VS7 nor with VC6 had any problems installing STLport. You simply should open a DOS box (with VC environment), go into the STLport 'src' directory and run "nmake vc6.mak". >> I wrote functor and had to rename it because it crashed with something global introduced by STLPort. What was the name which caused the conflict?
Alexander Berthold wrote: Isn't "size_t" unsigned by standard???. MAybe it's not size_t - it's the return value of *container*.size() and a friend who has X3J16 in hardcopy looked it up and said the standard says int. Alexander Berthold wrote: I have neither with VS7 nor with VC6 had any problems installing STLport. You simply should open a DOS box (with VC environment), go into the STLport 'src' directory and run "nmake vc6.mak". That is true, if you want their IOStreams. I couldn't get that to compile, so I just followed the instructions without their IOStreams, which involves uncommenting a #define. Alexander Berthold wrote: What was the name which caused the conflict? I don't recall. I was hoping in posting this to find out if all of STLPort is in global space, or not. It may have been something like hide or delete, which may explain it. ( The code is at work ). Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now