I'm using a Makefile (on Linux) to call 'mcc' (R2017b) to compile multiple projects. I've added the "-w disable" option, and when 'make' prints out the command line, the option is there. But the console output still contains warning messages. Am I missing or not correctly understanding something?
In case it's important, the specific warning I really want to suppress is MATLAB:depfun:req:CorrespondingMCodeIsEmpty. There are 1000s of lines of console output for this warning type, but I know everything compiles and works fine. So I want to improve my odds of catching any other warnings that might show up. Trying to disable just that one warning wasn't working, so I tried to disable all warnings and discovered this problem.
Again, in case it's important, these warnings are being triggered by P-code files that are being brought in via a "-a" specification.
The full command line being issued by 'make' is like:
cd mcc/linux && /path/to/mcc -R -nodesktop -m -v -w disable -a /path/to/pcode -a /another/path/to/pcode /path/to/source.p
ETA: I have also tried entering the 'mcc' portion of this command line directly in the Matlab GUI (R2018a this time, with both "-w disable" and "-w off") and the warnings still appear. So again, it seems either 'mcc's "-w" option is broken or I'm missing/misinterpreting something.
All assistance appreciated!