Below is an example taken from YottaDB/YottaDB#220. Notice that when compiled with -nowarning, no warnings show up.
> cat blktoodeep.m
IF '##class(%File).DirectoryExists(XOBDIR) DO QUIT 0
. WRITE !," o Directory does not exist: "_XOBDIR
quit
> mumps blktoodeep.m
IF '##class(%File).DirectoryExists(XOBDIR) DO QUIT 0
^-----
At column 6, line 1, source module /home/nars/wkshp_ydb/testarea/nars/test/temp/tmp/tmp/blktoodeep.m
%GTM-E-EXPR, Expression expected but not found
. WRITE !," o Directory does not exist: "_XOBDIR
^-----
At column 4, line 2, source module /home/nars/wkshp_ydb/testarea/nars/test/temp/tmp/tmp/blktoodeep.m
%GTM-W-BLKTOODEEP, Block level too deep
> mumps -nowarning blktoodeep.m
>
The same is supposed to happen with $ZCOMPILE containing "-nowarning" but it does not.
> $ydb_dist/mumps -direct
YDB>zcompile "blktoodeep.m"
IF '##class(%File).DirectoryExists(XOBDIR) DO QUIT 0
^-----
At column 6, line 1, source module /home/nars/wkshp_ydb/testarea/nars/test/temp/tmp/tmp/blktoodeep.m
%YDB-E-EXPR, Expression expected but not found
. WRITE !," o Directory does not exist: "_XOBDIR
^-----
At column 4, line 2, source module /home/nars/wkshp_ydb/testarea/nars/test/temp/tmp/tmp/blktoodeep.m
%YDB-W-BLKTOODEEP, Block level too deep
YDB>set $zcompile="-nowarning"
YDB>zcompile "blktoodeep.m"
IF '##class(%File).DirectoryExists(XOBDIR) DO QUIT 0
^-----
At column 6, line 1, source module /home/nars/wkshp_ydb/testarea/nars/test/temp/tmp/tmp/blktoodeep.m
%YDB-E-EXPR, Expression expected but not found
. WRITE !," o Directory does not exist: "_XOBDIR
^-----
At column 4, line 2, source module /home/nars/wkshp_ydb/testarea/nars/test/temp/tmp/tmp/blktoodeep.m
%YDB-W-BLKTOODEEP, Block level too deep
Draft Release Note
ZCOMPILE does not issue warnings during compilation if $ZCOMPILE has "-nowarning" in it. Previously, the compilation incorrectly issued warnings in this setting. Note that one can set $ZCOMPILE directly or through the environment variable ydb_compile/gtmcompile.
Final Release Note
Description
Below is an example taken from YottaDB/YottaDB#220. Notice that when compiled with -nowarning, no warnings show up.
The same is supposed to happen with $ZCOMPILE containing "-nowarning" but it does not.
Draft Release Note
ZCOMPILE does not issue warnings during compilation if $ZCOMPILE has "-nowarning" in it. Previously, the compilation incorrectly issued warnings in this setting. Note that one can set $ZCOMPILE directly or through the environment variable ydb_compile/gtmcompile.