Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

warning #2231-D: declaration is not visible outside of function

George Moykin-OracleMar 29 2010 — edited Apr 13 2010
Hi Tuxedo gurus,

I. When I call:

buildserver
buildclient
buildtms...
This warning appears:

"/oracle/tuxedo/tuxedo10gR3/include/atmi.h", line 446: warning #2231-D:
declaration is not visible outside of function
extern long TMDLLENTRY gpmktime _((struct tm TMFAR *));

II. Environment:
OS: HP-UX siswls B.11.31 U ia64 0260075113 unlimited-user license
Informix DB: IBM Informix CSDK Version 3.50, IBM Informix-ESQL Version 3.50.FC6
Tuxedo: 10.3.0.0, 64-bit
INFORMIX-OnLine: infx_xa_switch:${INFORMIXDIR}/lib/esql/libifxa.so ${INFORMIXDIR}/lib/esql/libixsql.so ${INFORMIXDIR}/lib/esql/libixos.so /usr/lib/hpux64/libsec.so ${INFORMIXDIR}/lib/libixasf.so ${INFORMIXDIR}/lib/esql/libixgen.so ${INFORMIXDIR}/lib/esql/libixgls.so ${INFORMIXDIR}/lib/esql/checkapi.o

III. Example:
oracle@siswls:/home/oracle/tuxedo$ buildtms -o TMS_Informix -r INFORMIX-OnLine -v
$TUXDIR/bin/buildserver -r INFORMIX-OnLine -o TMS_Informix -S -s TMS -s..TMS:TMS -f $TUXDIR/lib/TMS.o -v
cc DD64 Olit=all -Wl,+s -D__BIGMSGQUEUE_ENABLED -mt -I$TUXDIR/include -o TMS_Informix BS-dcd.c -L${TUXDIR}/lib /oracle/tuxedo/tuxedo10gR3/lib/TMS.o -ltux -lbuft ${INFORMIXDIR}/lib/esql/libifxa.so ${INFORMIXDIR}/lib/esql/libixsql.so ${INFORMIXDIR}/lib/esql/libixos.so /usr/lib/hpux64/libsec.so ${INFORMIXDIR}/lib/libixasf.so ${INFORMIXDIR}/lib/esql/libixgen.so ${INFORMIXDIR}/lib/esql/libixgls.so ${INFORMIXDIR}/lib/esql/checkapi.o -lfml -lfml32 -lengine -lnsl

"/oracle/tuxedo/tuxedo10gR3/include/atmi.h", line 446: warning #2231-D:
declaration is not visible outside of function
extern long TMDLLENTRY gpmktime _((struct tm TMFAR *));

IV. I tried to edit the atmi.h:

#if defined(_TMPROTOTYPES) && !defined(_H_SYS_TIME) && !defined(_SYS_TIME_INCLUDED) && !defined(_TIME_H)
struct tm;
#endif

to be:

#if !defined(_H_SYS_TIME) && !defined(_SYS_TIME_INCLUDED) && !defined(_TIME_H)
struct tm;
#endif

No results. The warning apears anyway.

Please, help!

Cheers,
George
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2010
Added on Mar 29 2010
9 comments
4,403 views