• c++ map as an indexed data structure

    From Matej Sovdat@21:1/5 to All on Fri Feb 11 07:06:43 2022
    Hi,
    I would like to use map in my C++ program.
    To do that I included <map>.
    When I want to compile a program a compiler complains:

    #include <rw/stddefs.h>
    ^
    "\PERUN.$SYSTEM.SYSTEM.limits2", line 58.0: catastrophic error(4093): cannot
    open source file "rw/stddh"

    Any suggestions?

    Best regards,
    Matej

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From red floyd@21:1/5 to Matej Sovdat on Fri Feb 11 08:10:43 2022
    On 2/11/2022 7:06 AM, Matej Sovdat wrote:
    Hi,
    I would like to use map in my C++ program.
    To do that I included <map>.
    When I want to compile a program a compiler complains:

    #include <rw/stddefs.h>
    ^
    "\PERUN.$SYSTEM.SYSTEM.limits2", line 58.0: catastrophic error(4093): cannot
    open source file "rw/stddh"

    Any suggestions?

    Best regards,
    Matej

    Compile under OSS instead.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From red floyd@21:1/5 to red floyd on Fri Feb 11 08:54:09 2022
    On 2/11/2022 8:10 AM, red floyd wrote:
    On 2/11/2022 7:06 AM, Matej Sovdat wrote:
    Hi,
    I would like to use map in my C++ program.
    To do that I included <map>.
    When I want to compile a program a compiler complains:

      #include <rw/stddefs.h>
                              ^
    "\PERUN.$SYSTEM.SYSTEM.limits2", line 58.0: catastrophic error(4093):
    cannot
               open source file "rw/stddh"

    Any suggestions?

    Best regards,
    Matej

    Compile under OSS instead.


    Or else, make sure you have a VERSION3 flag on the compile.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Randall@21:1/5 to red floyd on Fri Feb 11 11:17:26 2022
    On Friday, February 11, 2022 at 11:54:11 a.m. UTC-5, red floyd wrote:
    On 2/11/2022 8:10 AM, red floyd wrote:
    On 2/11/2022 7:06 AM, Matej Sovdat wrote:
    Hi,
    I would like to use map in my C++ program.
    To do that I included <map>.
    When I want to compile a program a compiler complains:

    #include <rw/stddefs.h>
    ^
    "\PERUN.$SYSTEM.SYSTEM.limits2", line 58.0: catastrophic error(4093):
    cannot
    open source file "rw/stddh"

    Any suggestions?

    Best regards,
    Matej

    Compile under OSS instead.

    Or else, make sure you have a VERSION3 flag on the compile.

    I guess the other question is why using Rogue Wave instead of STL.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bill Honaker@21:1/5 to Matej Sovdat on Fri Feb 11 14:04:56 2022
    What does the command line you used to invoke the compiler look like?

    On Fri, 11 Feb 2022 07:06:43 -0800 (PST), Matej Sovdat <matej.sovdat@gmail.com> wrote:

    Hi,
    I would like to use map in my C++ program.
    To do that I included <map>.
    When I want to compile a program a compiler complains:

    #include <rw/stddefs.h>
    ^
    "\PERUN.$SYSTEM.SYSTEM.limits2", line 58.0: catastrophic error(4093): cannot
    open source file "rw/stddh"

    Any suggestions?

    Best regards,
    Matej

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From red floyd@21:1/5 to Bill Honaker on Fri Feb 11 15:38:26 2022
    On 2/11/2022 12:04 PM, Bill Honaker wrote:
    What does the command line you used to invoke the compiler look like?

    On Fri, 11 Feb 2022 07:06:43 -0800 (PST), Matej Sovdat <matej.sovdat@gmail.com> wrote:

    Hi,
    I would like to use map in my C++ program.
    To do that I included <map>.
    When I want to compile a program a compiler complains:

    #include <rw/stddefs.h>
    ^
    "\PERUN.$SYSTEM.SYSTEM.limits2", line 58.0: catastrophic error(4093): cannot >> open source file "rw/stddh"

    Any suggestions?

    Best regards,
    Matej

    Hi Bill,

    Based on some digging into the headers, it looks like a C++ VERSION
    issue. He's apparently got VERSION2 defined. He needs at least
    VERSION3 to avoid $SYSTEM.SYSTEM.LIMITS2, and VERSION4 to avoid $SYSTEM.SYSTEM.LIMITS3

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From red floyd@21:1/5 to Randall on Fri Feb 11 15:36:57 2022
    On 2/11/2022 11:17 AM, Randall wrote:
    On Friday, February 11, 2022 at 11:54:11 a.m. UTC-5, red floyd wrote:
    On 2/11/2022 8:10 AM, red floyd wrote:
    On 2/11/2022 7:06 AM, Matej Sovdat wrote:
    Hi,
    I would like to use map in my C++ program.
    To do that I included <map>.
    When I want to compile a program a compiler complains:

    #include <rw/stddefs.h>
    ^
    "\PERUN.$SYSTEM.SYSTEM.limits2", line 58.0: catastrophic error(4093):
    cannot
    open source file "rw/stddh"

    Any suggestions?

    Best regards,
    Matej

    Compile under OSS instead.

    Or else, make sure you have a VERSION3 flag on the compile.

    I guess the other question is why using Rogue Wave instead of STL.

    That's a system thing. It's coming out of $SYSTEM.SYSTEM.LIMITS2

    A bit of digging shows that LIMITS2 is referred to by LIMITS3, which is referred to by <limits>. LIMITS3 gets invoked for anything less than
    VERSION4. LIMITS2 gets invoked for anything less than VERSION3. So I'd recommend that Matei set VERSION3 in his compile. Or even better,
    VERSION4.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matej Sovdat@21:1/5 to red floyd on Mon Feb 14 04:53:45 2022
    On Saturday, February 12, 2022 at 12:38:29 AM UTC+1, red floyd wrote:
    On 2/11/2022 12:04 PM, Bill Honaker wrote:
    What does the command line you used to invoke the compiler look like?

    On Fri, 11 Feb 2022 07:06:43 -0800 (PST), Matej Sovdat <matej....@gmail.com> wrote:

    Hi,
    I would like to use map in my C++ program.
    To do that I included <map>.
    When I want to compile a program a compiler complains:

    #include <rw/stddefs.h>
    ^
    "\PERUN.$SYSTEM.SYSTEM.limits2", line 58.0: catastrophic error(4093): cannot
    open source file "rw/stddh"

    Any suggestions?

    Best regards,
    Matej
    Hi Bill,

    Based on some digging into the headers, it looks like a C++ VERSION
    issue. He's apparently got VERSION2 defined. He needs at least
    VERSION3 to avoid $SYSTEM.SYSTEM.LIMITS2, and VERSION4 to avoid $SYSTEM.SYSTEM.LIMITS3

    Thank you all guys for your quick responses.
    At the moment we are using VERSION2. I do not want now to convert all the code to VERSION3.
    Instead I found a way around and used CPATHEQ "$SYSTEM.SYSTEM.SLMAP".

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)