Well, John, I did say it didn't give me the warm fuzzes.....:-) It does appear that my default TARGET compile value is (LE, CURRENT), but that doesn't work without the #define _NO_NEW_FUNC_CHECK.

Here's a list of all the compiler options in effect at compile time:
'GETADDRI C A1' *NOGONUMBER *NOALIAS *NORENT *TERMINAL *NOUPCONV *SOURCE *NOLI *NOXREF *NOAGGR *NOPPONLY *NOEXPMAC *NOSHOWINC *NOOFFSET *MEMO *NOLONGNAME *START *EXECOPS *ARGPARSE *NOEXPORTAL *NODLL(NOCALLBACK *NOLIBANSI *NOWSIZEOF *REDIR *ANSIALIAS *DIGRAPH *NOROCONST *ROST *TUNE(3) *ARCH(2) *SPILL(128) *MAXMEM(2097152) *NOCOMPACT *TARGET(LE,CURRENT) *FLAG(I) *NOTEST(SYM,BLOCK,LINE,PATH,HOOK) *NOOP *NOINLINE(AUTO,NOREPORT,100,1000) *NESTINC(255) *BITFIELD(UNSIGNE *NOCHECKOUT(NOPPTRACE,PPCHECK,GOTO,ACCURACY,PARM,NOENUM, NOEXTERN,TRUNC,INIT,NOPORT,GENERAL,CAST) *FLOAT(HEX,FOLD,NOAFP) *STRICT *NOIGNERRNO *NOINITAUTO *NOCOMPRESS *NOSTRICT_INDUCTION *AGGRCOPY(NOOVERLAP) *CHARS(UNSIGNED) *NOCSECT *NOEVENTS *OBJECT *NOOPTFILE *NOSERVICE *NOOE *NOIPA *NOSEARCH *NOLSEARCH *NOLOCALE *HALT(16) *PLIST(HOST) *NOCONVLIT *NOASCII *NOGOFF *NOXPLINK(NOBACKCHAIN,NOSTOREARGS,NOCALLBACK,GUARD,OSCALL(NOSTACK)) *ENUMSIZE(SMALL) *NOHALTONMSG *NOSUPPRESS DEFINE(__VM__=1) DEFINE(__HOS_VM__=1) DEFINE(__TOS_VM__=1) DEFINE(__CMS__=1) __COMPILER_VER__=0x41020000 __LIBREL__=0x41040000 __TARGET_LIB__=0x41030000
 *EXTENDED

Maybe someone can point out an option I have not set properly.

DJ

John P. Hartmann wrote:
Dave,

In a word:  Not a good idea.

That define means that the declaration of the offending function is
omitted and you fall back on the default of all undeclared functions
being something returning int, but that suppresses type checking of
the function arguments.

You need to convince the compiler that you are compiling for the level
that includes the code for the function.  4104 seems to be the
operative here.  So a specify the appropriate TARGET parameter to the
compiler.

Then find out why your compiler installation does not default to
TARGET CURRENT as it should and fix that.

  j.

Reply via email to