|
-
May 4th, 1999, 01:06 PM
#1
SGI STL and Visual C++ 4.0
Hi!
How can I use the STL of SGI with Visual C++ 4.0.
When I just include the header-files like #include <vector.h>
I get a lot of errors.
Can anybody give me a hint?
Regards.
Alan!
-
May 4th, 1999, 04:47 PM
#2
Re: SGI STL and Visual C++ 4.0
Don't you need to customize one of the headers in the SGI implementation to have it work for MSVC 4.0? I haven't looked at it, but I bet that you need to #define (or #undef) some constants. Things such as member templates, default template parameters, etc. may not have been implemented in VC 4.0, but by default SGI STL may use them.
You may see a constant like
#define USE_DEFAULT_TEMPLATE_PARMS
or something like that within one of the SGI headers. This is what needs to be changed.
I don't think you can just drop SGI STL into your application and have it work "right out of the box".
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|