Skip to content

Conversation

@firewave
Copy link
Collaborator

No description provided.

@firewave
Copy link
Collaborator Author

> simplecpp e:\a.cpp


int i ;
e:\a.cpp:1: cache error: Failed to get ID for e:/a.h (GetFileInformationByHandleEx() failed with 'The parameter is incorrect.')
e:\a.cpp:1: missing header: Header not found: "a.h"

@firewave firewave force-pushed the cache-error branch 2 times, most recently from dfe551c to 7b9d265 Compare November 10, 2025 01:58
@firewave
Copy link
Collaborator Author

firewave commented Nov 11, 2025

I chose a different type so we not need to pipe the more verbose information from the generic missing include error.

The idea for hooking this up in Cppcheck would be to report this with --verbose or --check-config only.

It might make sense to cache it from CACHE_ERROR to some more generic as CACHE_MSG so we could pass on some information about the cache (like statistics). Introducing an additional list within the cache object would add more complexity to the integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant