Example 52 Using +opts <filename> option
$cat warnings_config
#warnings_config
#change warning about use of undefined variable to an error +We2549
#enable warning about redeclaration of variable
+Ww3348
#disable warning: statement is unreachable +W2111
$ cadvise +opts warnings_config +wlint cc
line generates the following messages:
"uninit.c", line 6: warning
int i;
^
"uninit.c", line 9: error
if (i) j = 3;
^
1 error detected in the compilation of "uninit.c".
44 Miscellaneous driver options