Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FreeRTOS] Parse error for nested unions or structs #341

Open
tobireinhard opened this issue Nov 14, 2022 · 0 comments
Open

[FreeRTOS] Parse error for nested unions or structs #341

tobireinhard opened this issue Nov 14, 2022 · 0 comments

Comments

@tobireinhard
Copy link

Hi,

VeriFast does currently not support nested unions or structs such as in the following code:

struct S
{
    union
    {
        void * ptr;
        int val;
    } u;
};

Is it possible to push this error further down to the verification layer such that it only pops up when we try to verify code involving this struct? These structs are not relevant for the code that I'm verifying but they are defined in the main FreeRTOS header file that almost every other source file includes. Therefore, the errors always pops up when we load any FreeRTOS code into VeriFast.

Best,
Tobi

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

No branches or pull requests

1 participant