Hi,
When i link a C++ test app with stlport, it throws some errors on AIX
like
Linking ../../output/AIX_32/bin/test
"/hm/test/stlport/stl/_fstream.h", line 30.11: 1540-0836 (S) The
#include file <stl/_streambuf.h> is not found.
"/hm/test/stlport/stl/_fstream.h", line 34.10: 1540-0836 (S) The
#include file <stl/_istream.h> is not found.
.....
I tried providing -D_STLP_NO_OWN_I OSTREAMS, but it did not help.
Any expert comments on this? The same code works on solaris and Lnx OS
Regards, ~Pervinder 1 1946
the problem is *probably* due to a difference in the way the compilers
interpret the
#include <...>
construct.
I'm not sure about C++, but in C there is a semantic difference between
this and using quotes that is governed by implementation-defined
behavior. Basically <> quoting is specified to be tighter than "" quoting
in terms of where it looks for include files. If I had to guess, the AIX
compiler has a very tight definition for <> quoting which limits it to
looking on the compiler's 'system' include path (where the RTL includes
are installed), whereas the other compilers have a looser definition of it
which is why they can find the files.
To solve it, you'd be best finding out how to tell AIX compiler to add the
STLPORT directories to the standard system include path. This may or may
not be possible depending on compiler design. Other solutions include
moving STLPORT itself into the standard system include path, or going
through the STLPORT headers replacing the <> version of the includes with
the "" version.
David This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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:
In file included from /opt/nortel/gcc-3.3/backward/iostream.h:31,
from /export/home/rch034/garyla/stlport/wrap_std/h/iostream.h:5,
from /export/home/rch034/garyla/stlport/iostream.h:107,
from...
|
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 (using the MSVC7 backend, I should
state)?
There doesn't seem to be any out of the box support for
Comeau on Win32/MSVC7 in STLPort, but that's okay, I would
think, as it does create libraries for MSVC7.
|
by: John Graat |
last post by:
Hi all,
I've built the STLport-462 library on AIX-4.3.3 using gcc-3.3.2.
No errors during compilation. However, during linking the following
error occurs:
ld: 0711-317 ERROR: Undefined symbol: _STL::_Node_Alloc_Lock<(bool)1,
(int)0>::_S_lock
Besides this error, the following warnings are given:
ld: 0711-224 WARNING: Duplicate symbol: _STL::money_get<char,
|
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 _STLP_USE_OWN_NAMESPACE 1
#define _STLP_REDEFINE_STD 1
In other words, STLPort is configured to used MSVC's iostreams.
|
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
}
| |
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 error:NMAKE: fatal
error U1077: 'cl': return code '0x2'stop.
I can build STLport without any error but a warning, after buiding I
test it, a error is appear.
|
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
ns::CPointT<short*'
c:\stlport-5.0.2\stlport\stl\_vector.h(351) : see reference to
function
template instantiation 'void __cdecl stlp_std::_Copy_Construct(struct
ns::CPointT<short*,const struct ns::CPointT<short&)' being compiled
|
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 interesting (and original I
hope) features like:
- template expression for string concatenation (activable through
|
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 install) with
Visual Studio 2005.
Visual Studio finds the .lib file, but it seems it doesn't find the
functions.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 we have to send another system
| |