473,507 Members | 2,451 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mixing STLPort and STL from Microsoft

I'm using STLport in my project, and now I need to use a library which was
compiled using MSVC 6.0 headers.

For example, the "library.h" file contains #include <vector>. Apparently, in
my project, the include path contains stlport. This will cause the
compilation of objects, defined in library.h, to be incompatible with the
library itself.

Does anybody know the solution except compilation of all the code with the
same headers?

Thanks,
Mike
Jul 23 '05 #1
1 1660

"mikets" <mi****@frontline-pcb.com> wrote in message
news:ct**********@news2.netvision.net.il...
I'm using STLport in my project, and now I need to use a library which was
compiled using MSVC 6.0 headers.

For example, the "library.h" file contains #include <vector>. Apparently, in my project, the include path contains stlport. This will cause the
compilation of objects, defined in library.h, to be incompatible with the
library itself.

Does anybody know the solution except compilation of all the code with the
same headers?


If this were my project, I would indeed work toward a solution
that does not try to mix different standard library implementations.
I imagine doing it (and maintaining it) would be a never-ending
nightmare. I certainly would place no confidence in its stability,
despite any outward appearances. Different standard library implementations
can (and do) implement the same features quite differently.

-Mike
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3247
by: Gary | last post by:
I am trying to compile the STLPORT 4.5.3 using g++ 3.3 compiler on sun. I have modified the stl_gcc.h file to point to the correct include path for the compiler. I am getting the following errors:...
4
1661
by: Icosahedron | last post by:
I'm sure it's been done. I'm sure that I'm an idiot for even asking the question, but has anyone been successful in getting Comeau 4.3.0.1 to compile STLPort, or even use STLPort in a program...
2
2027
by: programmer_pete | last post by:
I am trying to switch to STLPort 4.6.2 from the MSVC STL. My project uses Spirit 1.6.0 and MSVC++ 6. I have configured STLPort as follows: #define _STLP_NO_OWN_IOSTREAMS 1 #define...
1
1984
by: Boris | last post by:
Hi, I'm using STLport-4.5.3 with Visual C++ 6.0 on Windows XP. It seems, the module built requires MSVCP60.DLL - which (mostly) contains Streams implementation by Microsoft. So, STLport falls...
7
1887
by: Gernot Frisch | last post by:
Hi, we have to use stlport here, but With a code like this: void DoSomething(int english_version) { // make no use of english_version }
1
6299
by: PangFromChina | last post by:
Platform:window 2000 professional, VC++6.0 +SP5 STLport: STLport 5.0.2 While test STLport following "STLport README for Microsoft Visual C++ compilers." of README.msvc(readme.txt), there is a...
2
3047
by: Artur Bac | last post by:
I got a problem with eVc4 i STLPort and i dont known why c:\stlport-5.0.2\stlport\stl\_construct.h(115) : error C2665: 'new' : none of the 2 overloads can convert parameter 2 from type 'struct...
0
2327
by: francois.cppdevs | last post by:
Hi C++ supporters I just wanted to let you know that STLport 5.1.0 has been released, it is available here: https://sourceforge.net/projects/stlport/ Since 5.0 this library implements some...
1
1570
by: Alessandro Monopoli | last post by:
Hi! I have tons of problems linking STLPort to my project: it seems the projects does not find any function or object in the lib, that I have compiled following the instructions (including make...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.