RP/TUX 8.1 - Compile error with std namespace after RP124 (Doc ID 777030.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo
Information in this document applies to any platform.
Information in this document applies to any platform
***Checked for relevance on 13-07-2011***

Goal

DESCRIPTION:
The customer is developing CORBA application using std namespace.
It can compile on GA version of HP-UX11.23 IA-64
After applying the Rolling patch, it can not compile with following error.

$ make -f makefile.mk
        buildobjclient -v -o simple_client -f "simple_c.cpp simplec.cpp"
aCC -D_REENTRANT -mt  -D_TOBJ -I$TUXDIR/include -o simple_client   -L${TUXDIR}/l
ib  -AA +DD64 +Olit=all -Wl,+s +W930  -D__BIGMSGQUEUE_ENABLED simple_c.cpp simpl
ec.cpp  -lenv -lomg -lorb -lorbutl -licbgp  -lengine    -lnsl  -lpthread
simple_c.cpp:
simplec.cpp:
Error 172: "simplec.cpp", line 55 # Undeclared variable 'cout'.
            cout << "String?";
            ^^^^
Error 172: "simplec.cpp", line 57 # Undeclared variable 'cin'.
            cin >> mixed;
            ^^^
Error 172: "simplec.cpp", line 62 # Undeclared variable 'cout'.
            cout << v_upper.in() << endl;

CONFIGURATION:
Tuxedo 8.1 on HP-UX11.23 (IA-64)

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms