Since version 0.21 it appears to be difficult to set up an rc file to just show specified warning numbers. I can do as in the example below but this does not work, as it appears the enabling is processed before the disabling and hence all warnings are disabled.
[MESSAGES CONTROL]
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifier separated by comma (,) or put this option
# multiple time.
disable=I,R,C,W
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time.
enable=W0611,W0404
|
Comments
-
2012/07/12 07:07, written by sthenault
add commentthis is probably because order should be properly considered when reading/generating rc file.
Also, this order dependant thing (on command line and rc file) should be documented.