Skip to content

More pragmas #351

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

Merged
merged 4 commits into from
Jun 1, 2020
Merged

More pragmas #351

merged 4 commits into from
Jun 1, 2020

Conversation

tjj2017
Copy link
Collaborator

@tjj2017 tjj2017 commented May 29, 2020

Ignore pragmas Compile_Time_Warning, Linker_Options, and partially ignore pragma Suppress_Initialization.

Linker_Options may be processed in a later release if symtab2gb was to have more options.

Suppress_Initialization is only ignored if it is applied to an array type or scalar type which has no default value aspect. Otherwise it is still reported as unsupported.

It could be improved with more work so that it could be ignored in more cases or actually to change the initialisation code. But for the moment it clears all but one instance in the CI tests.

Copy link
Collaborator

@martin-cs martin-cs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks; tests for things we are ignoring are particularly appreciated.

@martin-cs martin-cs merged commit ec134c3 into diffblue:master Jun 1, 2020
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.

2 participants