Multiple files not /analyze clean
Open
Nobody has claimed this yet.
feature-request
- Dominant language
- C++
- Stars
- 3k
- Forks
- 300
- Avg merge
- 19h 12m
- Merged PRs (30d)
- 1
Description
Tested against 4361351 with local fix for #26.
Test file (in root of repo for simplicity)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "include/wil/com.h"
#include "include/wil/registry.h"
#include "include/wil/filesystem.h"
#include "include/wil/win32_helpers.h"
int main() {}
> cl testwil.cpp /W4 /WX /permissive- /analyze
Microsoft (R) C/C++ Optimizing Compiler Version 19.20.27508.1 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
[see link below]
Compiler output: https://gist.github.com/zx64/563b366873fd8063bb72a44ec5839e52
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the root-level testwil.cpp reproduction and run the documented cl testwil.cpp /W4 /WX /permissive- /analyze command. Read the compiler output in the linked gist and inspect the included WIL headers to identify why analysis is not clean; done means the reproduction no longer emits the reported diagnostics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100