Re: Building application using Ospace STL

From: Marty Freitas (marty_at_convex.hp.com)
Date: 09/29/05


Date: 29 Sep 2005 00:00:24 -0600

Sathya wrote:
: I am trying to build an huge C++ application using the ospace STL
: on HP Itanium.

What version of aC++ are you using?

: I am using the following flags in the
: -DOS_HPUX_11_00 -DOS_NEW_CHECK -DOS_STL_ASSERT -DOS_NO_WSTRING
: -DOS_NO_ALLOCATORS -DOS_ALTERNATIVE_NAMES -DOS_OSPACE_STD_NAMESPACE

The IPF default has -Aa. But you could add -AA to that list.

: But now I am getting the following errors.
: Error 711: "/home/ospace/HP-UX/ospace/stl/vector.cc", line 25 # There is no
: matching declaration for 'os_vector' in namespace "namespace os_std".
: os_std::os_vector OS_ALLOCATE_ARG_2( T, Allocator ) ::reserve
: ^^^^^^^^^
: Does anyone have an idea as to how to resolve this?
: -Sathya

I'm not sure of it is a macro problem but you may want to compile with:
   -E -.i

Then look at those lines. And make sure os_vector is defined in os_std,
before this line.
And compile that .i file and see what errors you get after macros are
expanded.



Relevant Pages

  • Re: I really hate .NET especially inside Delphi
    ... in Delphi.NET terms this is a package (yeah, yeah, I don't know why ... to a BPL it will compile to a dll, ... will see a namespace called TimsTest with TTestClass in it, ... in a Delphi app in the Uses class you would put ...
    (borland.public.delphi.non-technical)
  • Re: custom namespaces
    ... and for which I think I must need to compile ... it so that the code behind can actually see/find reference to the custom ... I'm trying to create custom a namespace for use ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Weird bug in VS.NET 2003 IDE
    ... > From time to time, when I save my code, the IDE decides to add lines to ... > End Sub ... > End Namespace ... > the IDE adding all these lines is that the program fails to compile, ...
    (microsoft.public.vsnet.ide)
  • Re: How to pass information, classes between forms in Windows Application mode [ FINALLY!]
    ... declarations, it will compile. ... [that Namespace only gets rid of ambiguity in class names, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Creating a custom class/Namespace
    ... Namespace ByteArray ... I then compile it using: ... >>> How then would I reference this in a new Web Application ... > If you need to reference a .Net Framework assembly or assemblies, ...
    (microsoft.public.dotnet.framework.aspnet)