The IgnoreWarnings attribute has no effect in a code module (at least for warning #7)... or the way to make it work is far from being obvious.