If your project uses the build option to treat warnings as errors, analyzer warnings might appear as errors. To prevent code analysis warnings from being treated as errors, follow the steps at Code analysis FAQ.