Forte 6.2 c++ compiler on sparc

If I am in the wrong forum, I apologize.
Would appreciate if anyone could direct me to the
right one.
We have an old C++ (more C than C++) shared lib. which
was compiled in Jan. 2002. No one knows what compiler
was used. It was working fine with occasional nasty
crashes. No core created (coresize is not set to zero).
I found that char * datatype encapsulated in a user class
had incorrect reference counting, and often malloc'd
memory was being 'delete'ed instead of free'ing and new'd
memory was being free'd, no checks for nullness of a ptr.
I replaced some of the char * with the STL's string class
and removed, as much as I could, all such inconsistencies.
I compiled it on a forte 6.2 on a Sparc m/c and installed it
on a few Sparc (Sun-Fire-xxxx) and two Ultra-80s.
While I am not sure if the original crash was fixed, the
exes. on the ultra-80 crashed a few times. Cores were
created (an improvement :). If I read the cores into a
debugger, pretty much all stack traces have
std::bad_cast::what() exceptions and in addition two of
the cores also have ostrstream::overflow().
The big questions are :
- Should I compile the lib. using -xarch=ultra-80 for
the ultras ?
- Should I have the compiler upgraded, as I read some
place on Sun site that forte6.2 had casting problems ?
- Should I go back into the code and start looking
for casting problems and other overflow problems ?
And then install some exception handlers.
But the problem with implementing exception handling
is, I will have to have a try and catch block in a lot of
places. At the end of the day, I cannot be sure I have
covered all bases.
Any help, ideas would be deeply appreciated.

Binaries (.o files, libraries, and executables) that use the std::string classs compiled with FD6u2 might not work with updated binaries. Whether they work depends on details of every CC command line used in building the old binaries, and whether libCstd.a was linked instead of /usr/lib/libCstd.so. An incorrect mix of binaries will result in program crashes.
If your programs are working well enough, leave them alone. Otherwise, recompile all C++ code with Sun Studio 11. (There is no good reason to use anything older than Studio 11, and many reasons why you should not.)
The -xarch=v9 option specifies 64-bit code. The default is 32-bit code. You can't mix 64-bit code and 32-bit code in the same program. If the original code was not built using -xarch=v9, do not use it now.
You should specify the -xarch=v8plus option on all command lines for 32-bit code on all Ultrasparc processors. (Pre-Ultrasparc processors have not been used in systems since about 1994.)

Similar Messages

  • Forte 6 update 2: Compile errors

    When I tried to recompile (using Forte C++ update 2) a project that was built fine under Workshop 4.2, Here are some of the errors that I received:
    Making CList.o...
    cc -g -Xc -I/usr/dt/include -I/usr/openwin/include -c CList.c
    "./XmI.h", line 113: (union) tag redeclared: __XmStringRec
    "CList.c", line 3605: warning: improper pointer/integer combination: op"="
    "CList.c", line 3861: warning: improper pointer/integer combination: op"="
    *** Error code 2
    make: Fatal error: Command failed for target 'CList.o'
    Making S_MoreTdimfElement.o...
    CC -g -I. -I/usr/dt/include -I/usr/openwin/include
    -I/home/lnguyen/tnp/include -compat -c S_Class.C
    "S_Class.C", line 2996: Error: Overloading ambiguity between
    "operator!=(const ClassA&, const ClassA&)" and
    "ClassA::operator const char*() const".
    "S_Class.C", line 3036: Error: Overloading ambiguity between
    "operator!=(const ClassA&, const ClassA&)" and
    "ClassA::operator const char*() const".
    2 Error(s) detected.
    ***Error code 2
    make: Fatal error: Command failed for target S_Class.o
    Anyone's seen this before?
    Thanks in advance...

    This was changed from an error to a warning about anacronism in the Forte Developer 7 C++ compiler. The warning can then be suppressed in a variety of ways including :
    CC -erroff=%all
    Since this structure is treated as an error in the Workshop 6 update 2 compiler, there's no way (of which I am aware) to get the compiler to compile files with the empty enum contained.

  • FORTE M2 - NT partition compilation question

    Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
    Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
    c:\forte/install/lib/qqDB.lib : fatal error LNK1106: invalid file or disk
    cannot seek to 0x38dff853
    make[2]: *** [all] Error 1
    Any suggestion ? (knowing I got 300 Mo left on drive)
    1) Can that offset be translated in bytes ?
    2) Does this rely on Oracle Client installation (DB) ?
    Thanks,
    j-paul gabrielli
    sema DTS

    Thanks for the info - installed.
    Btw, another point:
    can I tell Microsoft that I really like their
    installation paths ?
    rem
    rem Root of Visual Developer Studio Common files.
    set VSCommonDir=C:\PROGRA~1\MI017E~1\Common
    rem
    rem Root of Visual Developer Studio installed files.
    rem
    set MSDevDir=C:\PROGRA~1\MI017E~1\Common\msdev98
    I fear that I cannot consider this as something portable :-/
    j-paul
    -----Message d'origine-----
    De: Adamek, Zenon [mailto:ZAdamekpurolator.com]
    Date: mardi 30 mai 2000 15:39
    À: 'Jean-Paul.Gabriellisema.fr'
    Cc: kamranaminyahoo.com
    Objet: RE: (forte-users) FORTE M2 - NT partition compilation question
    Hi
    You are using the wrong version (5.0) of MSVC++. Forte version M requires
    the MSVC++ 6.0 compiler (Linker Version 6.00). See technote 12083.
    Zenon Adamek
    Purolator
    -----Original Message-----
    From: Jean-Paul Gabrielli [SMTP:Jean-Paul.Gabriellisema.fr]
    Sent: Tuesday, May 30, 2000 9:34 AM
    To: Forte User Group
    Subject: (forte-users) FORTE M2 - NT partition compilation question
    Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
    Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
    c:\forte/install/lib/qqDB.lib : fatal error LNK1106: invalidfile or disk
    cannot seek to 0x38dff853
    make[2]: *** [all] Error 1
    Any suggestion ? (knowing I got 300 Mo left on drive)
    1) Can that offset be translated in bytes ?
    2) Does this rely on Oracle Client installation (DB) ?
    Thanks,
    j-paul gabrielli
    sema DTS
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe,send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com--
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Announcing availability of  x86 hosted cross compiler for SPARC/Solaris

    We are pleased to announce the release for GCC For Sun Systems 4.2.0 cross compilers!
    This is a Solaris/x86 hosted compiler with target code generation for
    SPARC/Solaris systems. If you develop on your OpenSolaris, or Solaris
    x86 laptop or desktop, you can now start compiling your sources for
    SPARC systems. Almost all features available in the
    native SPARC GCC For Sun Systems 4.2.0 compiler are available
    for use in the cross compiler. Please refer to the mini cross compiler howto
    page for additional details on install and usage, and gotchas in cross
    development environment.
    Please continue to provide us your feedback and issues, which helps
    us make the product better.
    Thanks
    GCCFSS team

    Can GCCFSS also cross compile from in reverse - from SPARC to x86/x64?
    Thank you

  • Forte 3M and AIX compiler

    I know that the compiler that is certified for Forte 3M on AIX 4.3.3 is
    v3.6.4 (replaced with v3.6.6 see Technote 12392), but is it Visual Age? or
    another compiler? Forte support doesn't know. We currently have VisualAge
    C++ Professional / C for AIX Compiler, Version 5 installed. We contact IBM
    to see if we could get v3.6.6, but they don't seem to know what compiler we
    are talking about.
    Does anybody have a compiler on AIX 4.3.3 that works with Forte 3M?
    Thanks in advanced,
    Mike Stein
    HealthPartners

    If you have a service contract, please follow the service channel and contact license center.
    - Rose

  • Fwd: Re: (forte-users) Forte 3M and AIX compiler

    see attached

    Why not this:
    while myText.moveToString(' ') do
    myText.ReplaceRange('-', myText.Offset, myText.Offset+1);
    end while;
    or if you prefer verbosity:
    while myText.moveToString(source=' ') do
    myText.ReplaceRange(source='-', startOffset=myText.Offset,
    endOffset=myText.Offset+1);
    end while;
    -----Original Message-----
    From: FatchJeBAM.com [mailto:FatchJeBAM.com]
    Sent: Wednesday, January 12, 2000 2:51 PM
    To: Troy.Burnsvacationclub.com; kamranaminyahoo.com
    Subject: RE: (forte-users) search and replace within a TextData
    How about this?? May have to play with start/end on ReplaceRange as I
    didn't really test this
    Anybody got a better way??
    -- replace space with underscore
    For x in 1 to myTextdata.LengthToEnd() do
    If myTextData.IsSpace() then
    MyTextdata.ReplaceRange('_'. Startoffset=myTextdata.offset,
    endoffset=myTextdata.offset+1);
    End if;
    MyTextdata.MoveNext;
    End for;
    Jerry Fatcheric
    -----Original Message-----
    From: Burns, Troy [mailto:Troy.Burnsvacationclub.com]
    Sent: Wednesday, January 12, 2000 9:40 AM
    To: kamranaminyahoo.com
    Subject: (forte-users) search and replace within a
    TextData
    Hello all,
    I need to search within a textdata object, replacing all
    occurrances of a
    space
    with another character. Can you give a quick code example
    of how I would do
    this?
    Thanks in advance,
    Troy
    Troy Burns
    Marriott Vacation Club Intl.
    E-mail: troy.burnsvacationclub.com
    Phone: (941) 688-7700 ext. 4408
    For the archives, go to: http://lists.sageit.com/forte-users
    and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.sageit.com
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com

  • Compiler error with forte 6.2 - assertion failed in sp_interface.cc

    I have a compilation error when compiling on my Ultra 10
    using Forte 6.2 C compiler (5.3). Here's the line:
    teds@enigma[195]% cc -xtarget=ultra3 -xarch=v8plusb -dalign -fns -fsimple=2 -ftrap=%none -xlibmil !!
    cc -xtarget=ultra3 -xarch=v8plusb -dalign -fns -fsimple=2 -ftrap=%none -xlibmil -xO4 -DCMO_DEBUG_DETAIL -DUSE_DATACONN -c cmoisubs.c -o cmoisubs.o
    cg: assertion failed in file ../src/ms_pipe/sp_interface.cc at line 689
    cg: Internal error: constval annotation set on reg with multiple defs
    cg: 1 errors
    cc: cg failed for cmoisubs.c
    teds@enigma[196]%
    Does anyone have any ideas?
    Thanks,
    Ted

    Hi There,
    Form the error message it seems like a bug in cg.
    Try the follwoing option and see if the bug goes away.
    -Qoption cg -O0 or use -Qms_pipe-off.
    Please refer C user's guide for usage.
    ....jagruti
    Developers Technical Support
    Sun Microsystems, http://www.sun.com/developers/support

  • Assertion error when compiling ANSI C code - Forte 6.2

    I have a compilation error when compiling on my Ultra 10
    using Forte 6.2 C compiler (5.3). Here's the line:
    teds@enigma[195]% cc -xtarget=ultra3 -xarch=v8plusb -dalign -fns -fsimple=2 -ftrap=%none -xlibmil !!
    cc -xtarget=ultra3 -xarch=v8plusb -dalign -fns -fsimple=2 -ftrap=%none -xlibmil -xO4 -DCMO_DEBUG_DETAIL -DUSE_DATACONN -c cmoisubs.c -o cmoisubs.o
    cg: assertion failed in file ../src/ms_pipe/sp_interface.cc at line 689
    cg: Internal error: constval annotation set on reg with multiple defs
    cg: 1 errors
    cc: cg failed for cmoisubs.c
    teds@enigma[196]%
    Does anyone have any ideas?
    Thanks,
    Ted

    Are both files in the same directory? Is the directory in your classpath?

  • C++ Compiler aborts with licensing error message

    SUN OS - 5.6 with CC compiler version :
    >>>
    Sun WorkShop 6 update 1 Compilers C++
    >>>
    fails after a while when trying to do a Make of few C++ files ,
    the error message is :
    >>>
    License Error : Licensing product (Sun WorkShop Compiler C++ SPARC).
    License File: /opt/SunProd/SUNWspro6.1/bin/../WS6U1/bin/../../license_dir/sunpro.lic,1
    License file does not support this version
    Feature:workshop.cc.sparc
    Application version > License version:6.000512 > 6.000
    FLEXlm error:-21,126.
    >>>
    In this scenario the CC is NFS mounted on my system with a remote license host.
    Has anyone seen this problem ?
    Sunil--
    [email protected]

    Version of Sun C++ prior to Sun Studio 7 (also known as Forte Developer 7) used the FlexLM license manager. To run any of the compilers or tools you need a license server with a license for for the compiler version you are using. Details are in the Release Notes and the Install Guide that came with the product.
    These products are End Of Life, and little support is available for them. If you had a license but lost it, contact Sun Service to find out how to get a replacement. If you have a service contract, contact your Sun Service representative. If not, try one of these web sites:
    http://sunsolve.sun.com/private-cgi/show.pl?target=home_con
    http://developers.sun.com/services
    Unless there is a specific reason why you need to use an obsolete compiler, you should download Sun Studio 11, which is free, and needs no license server. It's also a much better product by any measure. You can get it here:
    http://developers.sun.com/sunstudio/

  • Compilation Error while using string (Please help)

    Hi,
    I am using "Sun WorkShop Compiler C++ SPARC Version 5.000". Compiling code which contains a "string variable" throws the following error:
    "/opt/WS5/SC5.0/include/CC/./new", line 32: Error: The prior declaration for ope
    rator new(unsigned) has no exception specification.
    "/opt/WS5/SC5.0/include/CC/./new", line 34: Error: The prior declaration for ope
    rator delete(void*) has no exception specification.
    "/opt/WS5/SC5.0/include/CC/./new", line 36: Error: The prior declaration for ope
    rator new[](unsigned) has no exception specification.
    "/opt/WS5/SC5.0/include/CC/./new", line 38: Error: The prior declaration for ope
    rator delete[](void*) has no exception specification.
    4 Error(s) detected.
    The command used for compilation is :
    /opt/WS5/bin/CC -compat=4 -I/opt/WS5/SC5.0/include/CC -features=%all try.cpp
    Would help if I could get some comments on the above.
    Thanks and Regards,
    M Shetty

    There is a requirement that I use the Workshop 5.0
    compilere with option "-compat=4".
    The program I am trying to compile contains:
    #include <string>
    int main()
    string test = "aaa";
    return 0;
    There is no "string" in "-compat=4". You need to
    do something like this:
    // --- start test.cc ---
    #include <rw/cstring.h>
    int main()
    RWCString test = "aaa";
    return 0;
    // --- end test.cc ---
    CC -compat=4 -library=rwtools7 test.cc

  • Problem in compiling with -g option

    I am using forte5.1 compiler. While compiling my whole source code with -g option, for some of the files, the compilation is successfully but for some files I am getting en error as ">> Assertion (../link/dbg_stcomm.cc, line 271) while processing srsCallbacks.C at line 0. Error code 1. make:Fatal error". If I try to compile the whole source code without -g option my whole compilation is successfull. I have downloaded all the required patches for this. Previously I was using compiler 5.0 and I was not getting any error with -g option. Can u just tell me why am I facing this problem specifically with forte5.1 and not with 5.0. How can I resolve this problem so as to compile the whole source code with -g option?

    Hi,
    I think you will need patch:
    Patch-ID# 109490-01
    Synopsis: C++ 5.1: Patch for Forte Development 6 C++ compiler
    As it appears that you are hitting bug id # 4312608
    "Assertion: (../links/dbg_stcomm.cc, line 271)"
    Can you confirm whether you are having this patch by doing:
    "CC -V" or "showrev -p"
    Thanks,
    Gopinath.
    Sun - DTS.

  • RE: (forte-users) Node Installed Libraries

    If you use Forte, the solution is to patch compcomp, or add a 'post-distrib'
    script.
    compcomp:
    replace the -L/path/file by -L/path -l:file
    Add -Wl,+s in link command
    post-distrib:
    # Enable SHLIB_PATH
    for all binaries,
    chatr +s enable $bin
    done
    # Enable dyunamic libs for all static
    Libs=$(cahtr $bin | grep ^static)
    for aLib in $Libs ; do
    chatr $bin +s enable -l $aLib
    done
    cheers
    j-paul
    -----Message d'origine-----
    De: kelsey.petrychynsasktel.sk.ca
    [mailto:kelsey.petrychynsasktel.sk.ca]
    Date: lundi 18 septembre 2000 18:36
    &Agrave;: David McPaul; Rottier.Pascalpmintl.ch
    Cc: forte-userslists.xpedior.com
    Objet: RE: (forte-users) Node Installed Libraries
    Libraries have been a sore point with us too....
    When we build something that uses a user created or third party
    library the
    explicit directory path is hard-coded into the build.
    So when you deploy the application to a different machine there
    is much grief
    because the build can't find the library.
    We got around this by "fooling" the build. We used directory
    creation and soft
    links in Unix so that the library appears to be in the same
    directory on both machines.
    I think this is called Static vs. Dynamic Libraries. We've talked
    to Forte last
    year about this and they indicated that this will be a
    future enhancement. Don't hold your breath though.....
    David McPaul <dmcpaullumley.com.au> on 09/17/2000 07:14:13 PM
    To: "'Rottier, Pascal'" <Rottier.Pascalpmintl.ch>, "'Forte Users'"
    <forte-userslists.xpedior.com>
    cc: (bcc: Kelsey Petrychyn/SaskTel/CA)
    Subject: RE: (forte-users) Node Installed Libraries
    Hi,
    We build here against a standard environment (1 NT server, 1 NT
    modal node, 1 95 modal node)
    I have noticed that forte is very picky about where it deploys
    compiled partitions (and thus libraries). Basically if you
    didn't make your
    distribution against the environment you are installing on then
    the compiled
    partitions don't install and you will need to reconfigure the
    application by
    moving your partitions and libraries to the nodes that they should be.
    Now I expected that would be the case between different
    architectures (UNIX/NT) but I think forte expects you to compile against
    each machine you want to install on.
    Not much help I know.
    Cheers
    David
    -----Original Message-----
    From: Rottier, Pascal [mailto:Rottier.Pascalpmintl.ch]
    Sent: Saturday, September 16, 2000 12:59 AM
    To: 'Forte Users'
    Subject: (forte-users) Node Installed Libraries
    Hi guys,
    When you deploy a library using Forte, if automatically updates the
    "Installed Libraries" list of the target node. However, not always. My
    question is, why? What property determines if a library should appear in
    this list or not. Of course, you can always add or remove it manually. But
    why doesn't it work the same automatically for all libraries.
    Pascal Rottier
    Origin Nederland (BAS/West End User Computing)
    Tel. +31 (0)10-2661223
    Fax. +31 (0)10-2661199
    E-mail: Pascal.Rottiernl.origin-it.com
    ++++++++++++++++++++++++++++
    Philip Morris (Afd. MIS)
    Tel. +31 (0)164-295149
    Fax. +31 (0)164-294444
    E-mail: Rottier.Pascalpmintl.ch
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com
    ******This
    e-mail is intended for the use of the individual or entity named
    above and may
    contain information that is confidential and privileged. If you
    are not the
    intended recipient, you are hereby notified that any
    dissemination, distribution
    or copying of this e-mail is strictly prohibited. If you have
    received this
    e-mail in error, please notify us immediately at
    helpdesklumley.com.au and
    destroy the original message. While this mail and any
    attachments have been
    scanned for common computer viruses and found to be virus free,
    we recommend you
    also perform your own virus checking processes before opening any
    attachments.
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    If you use Forte, the solution is to patch compcomp, or add a 'post-distrib'
    script.
    compcomp:
    replace the -L/path/file by -L/path -l:file
    Add -Wl,+s in link command
    post-distrib:
    # Enable SHLIB_PATH
    for all binaries,
    chatr +s enable $bin
    done
    # Enable dyunamic libs for all static
    Libs=$(cahtr $bin | grep ^static)
    for aLib in $Libs ; do
    chatr $bin +s enable -l $aLib
    done
    cheers
    j-paul
    -----Message d'origine-----
    De: kelsey.petrychynsasktel.sk.ca
    [mailto:kelsey.petrychynsasktel.sk.ca]
    Date: lundi 18 septembre 2000 18:36
    &Agrave;: David McPaul; Rottier.Pascalpmintl.ch
    Cc: forte-userslists.xpedior.com
    Objet: RE: (forte-users) Node Installed Libraries
    Libraries have been a sore point with us too....
    When we build something that uses a user created or third party
    library the
    explicit directory path is hard-coded into the build.
    So when you deploy the application to a different machine there
    is much grief
    because the build can't find the library.
    We got around this by "fooling" the build. We used directory
    creation and soft
    links in Unix so that the library appears to be in the same
    directory on both machines.
    I think this is called Static vs. Dynamic Libraries. We've talked
    to Forte last
    year about this and they indicated that this will be a
    future enhancement. Don't hold your breath though.....
    David McPaul <dmcpaullumley.com.au> on 09/17/2000 07:14:13 PM
    To: "'Rottier, Pascal'" <Rottier.Pascalpmintl.ch>, "'Forte Users'"
    <forte-userslists.xpedior.com>
    cc: (bcc: Kelsey Petrychyn/SaskTel/CA)
    Subject: RE: (forte-users) Node Installed Libraries
    Hi,
    We build here against a standard environment (1 NT server, 1 NT
    modal node, 1 95 modal node)
    I have noticed that forte is very picky about where it deploys
    compiled partitions (and thus libraries). Basically if you
    didn't make your
    distribution against the environment you are installing on then
    the compiled
    partitions don't install and you will need to reconfigure the
    application by
    moving your partitions and libraries to the nodes that they should be.
    Now I expected that would be the case between different
    architectures (UNIX/NT) but I think forte expects you to compile against
    each machine you want to install on.
    Not much help I know.
    Cheers
    David
    -----Original Message-----
    From: Rottier, Pascal [mailto:Rottier.Pascalpmintl.ch]
    Sent: Saturday, September 16, 2000 12:59 AM
    To: 'Forte Users'
    Subject: (forte-users) Node Installed Libraries
    Hi guys,
    When you deploy a library using Forte, if automatically updates the
    "Installed Libraries" list of the target node. However, not always. My
    question is, why? What property determines if a library should appear in
    this list or not. Of course, you can always add or remove it manually. But
    why doesn't it work the same automatically for all libraries.
    Pascal Rottier
    Origin Nederland (BAS/West End User Computing)
    Tel. +31 (0)10-2661223
    Fax. +31 (0)10-2661199
    E-mail: Pascal.Rottiernl.origin-it.com
    ++++++++++++++++++++++++++++
    Philip Morris (Afd. MIS)
    Tel. +31 (0)164-295149
    Fax. +31 (0)164-294444
    E-mail: Rottier.Pascalpmintl.ch
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com
    ******This
    e-mail is intended for the use of the individual or entity named
    above and may
    contain information that is confidential and privileged. If you
    are not the
    intended recipient, you are hereby notified that any
    dissemination, distribution
    or copying of this e-mail is strictly prohibited. If you have
    received this
    e-mail in error, please notify us immediately at
    helpdesklumley.com.au and
    destroy the original message. While this mail and any
    attachments have been
    scanned for common computer viruses and found to be virus free,
    we recommend you
    also perform your own virus checking processes before opening any
    attachments.
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Compile Error std::bad_alloc is not in the current exception specification

    I get a compile Error when I use the Forte C++ Version 6U1 compiler. I am porting the code from 4.6 to 6U1. The error is generated from the standard new interface header file ....include/CC/new. The compiler options i used are CC -c -features=no%bool . Any help would be highly appreciated.
    Thanks

    One of the header files had a #define std. When I commented this line out the error disappeared. This was in the standard mode.Not sure if the error was due to namespace corruption.
    I finally compiled the program in compatability mode because I would have had to make wholesale changes to the code to make it conform to the new STL components in the standard mode.

  • Forte and Configuration Management tools

    Hello everybody,
    We are starting here a project with Forte. It will involve about 15
    developers on two sites one in France and one in Germany.
    Among other starting tasks, we have been considering using a Configuration
    Manager tool connected to Forte. With the Configuration Manager we want to
    do version control of the developed code.
    Thus we have been experimenting various simple solutions to make backup /
    recovery using the plans / workspaces / repositories of Forte using simple
    techniques (FSCRIPT scripts + UNIX scripts). It has not been so obvious to
    go around the checks that FORTE makes when it "compiles" a plan and when it
    "integrates", assuming the public interfaces of some code have changed.
    We came to the conclusion that restoring an old "version" of the code of an
    application is almost every time a significative task which involves system
    administration. One clean way to do it (at least the one we have identified)
    requires the creation of a new repository, its loading with the version to
    be restored, and from now on developers must use that repository. This
    implies that an overall coherent set of code is restored, in fact the entire
    application under development. No piecewise restore of let say just a
    project, or a class. The backup is simply made by exporting a workspace that
    includes the top most plan of our application, and thus automatically all
    the supplier plans.
    I have read in some articles that there are some experience somewhere of
    using Forte with some CM tools of the market; furthermore is it true that
    version 3 of Forte will come (link to ?) real and exhaustive functionalities
    for CM ?
    We have experience here on CCC which has been used on "classical"
    development projects. We have some knowledge on ClearCase.
    Among other things I expect from a CM tool :
    * the ability to see the differences between the various versions of a piece
    of code (here a module, there a "plan"), so "what has changed".
    * management of checkout : who has checked out what and when.
    In addition, cooperation between a CM tool and Forte needs that the CM takes
    over some functions of Forte (eg, checkout, integrate, import). Is there a
    way to hook "exits" into the Forte workshops ? These exists could then be
    shell scripts linking with the CM tool.
    I am very interested in discussing the matter more in detail.
    best regards,
    Pierre Gelli
    ADP GSI
    Payroll and Human Resources Management
    72-78, Grande Rue, F-92310 SEVRES
    phone : +33 1 41 14 86 42 (direct) +33 1 41 14 85 00 (reception desk)
    fax : +33 1 41 14 85 99

    In my opinion, Portal has a lot of work to do in terms of configuration and change management. If you are using Portal as an application platform, as opposed to KM, you are better of developing java portlets, so that you can use the SCM with JDeveloper and stay away from the application components. If you do want to use the components, then application export/import is the only way. You can setup your own procedures for handling the exported files (version etc).
    You don't really version KM apps. Content is meant to be posted and otherwise administered by content area admins and users. It is not a "application", that must be change managed. There are versioning features available at the item level, which is adequate (but by no means a complete versioning system. Use iFS if you want that).
    I have heard quite a few horror stories about exporting and importing content areas.
    A 3-system Portal landscape, in my opinon, is overkill and trying to fit an existing approach to a new tool. A test/dev and a production Portal might be more palatable to the IT budget.
    My 2.5 cents

  • Question on forte for java

    Hi,
    I'm developing using the Forte for JAVA ide, but I get an error though i know certainly that my code is correct.
    I get this error:
    Tue Nov 06 11:35:29 CET 2001: java.lang.NoSuchMethodError: Posted StackTrace
    Annotation: Exception occurred in Request Processor
    org.openide.util.RequestProcessor$Holder: Posted StackTrace(task org.netbeans.modules.web.core.jsploader.TagLibParseSupport$ParsingRunnable@772046 [-2433, 9, -1])
    at org.openide.util.RequestProcessor$Task.createHolder(RequestProcessor.java:322)
    at org.openide.util.RequestProcessor.post(RequestProcessor.java:100)
    at org.openide.util.RequestProcessor.postRequest(RequestProcessor.java:185)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.parseObject(TagLibParseSupport.java:110)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.prepare(TagLibParseSupport.java:97)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.getTagLibEditorData(TagLibParseSupport.java:67)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.getTagLibEditorData(TagLibParseSupport.java:55)
    at org.netbeans.modules.web.core.syntax.JSPKit.createSyntax(JSPKit.java:94)
    at org.netbeans.editor.BaseDocument.getFreeSyntax(BaseDocument.java:377)
    at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:876)
    at org.netbeans.editor.LeafView.paintAreas(LeafView.java:145)
    at org.netbeans.editor.BaseView.paint(BaseView.java:129)
    at org.netbeans.editor.BaseTextUI$RootView.paint(BaseTextUI.java:594)
    at org.netbeans.editor.BaseTextUI.paintRegion(BaseTextUI.java:238)
    at org.netbeans.editor.EditorUI.paint(EditorUI.java:1315)
    at org.netbeans.editor.BaseTextUI.paint(BaseTextUI.java:217)
    at javax.swing.plaf.ComponentUI.update(ComponentUI.java:39)
    at javax.swing.JComponent.paintComponent(JComponent.java:395)
    at javax.swing.JComponent.paint(JComponent.java:687)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JViewport.paint(JViewport.java:668)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintChildren(JComponent.java:498)
    at javax.swing.JComponent.paint(JComponent.java:696)
    at javax.swing.JComponent.paintWithBuffer(JComponent.java:3878)
    at javax.swing.JComponent._paintImmediately(JComponent.java:3821)
    at javax.swing.JComponent.paintImmediately(JComponent.java:3672)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
    at org.netbeans.core.windows.frames.PinRepaintRM.paintDirtyRegions(PinRepaintRM.java:75)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:124)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
    [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    Tue Nov 06 11:35:29 CET 2001: java.lang.NoSuchMethodError: null
    java.lang.NoSuchMethodError
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.parsePage(TagLibParseSupport.java:150)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport.access$200(TagLibParseSupport.java:41)
    at org.netbeans.modules.web.core.jsploader.TagLibParseSupport$ParsingRunnable.run(TagLibParseSupport.java:119)
    at org.openide.util.Task.run(Task.java:124)
    [catch] at org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:626)
    I seems that it can't compile my jsp to servlet
    THX

    ive ran into many problems with compiling in forte. I just compile everything from the command line now, lets me know exactly what switches i want, and it works! ive never seen an error like that in forte though, i would just recommend compiling it from the command line with "javac"...

Maybe you are looking for