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

Fix pragmas #3298

Merged
merged 4 commits into from
Jan 24, 2025
Merged

Fix pragmas #3298

merged 4 commits into from
Jan 24, 2025

Conversation

BsAtHome
Copy link
Contributor

There are several pragmas in use that either do nothing or must be discouraged.

  • Using #pragma once is not guaranteed to work (because of links). This is changed to standard include guards.
  • The writable strings warning exclusion was only for older python versions. It was fixed in python 3.7 and LCNC only supports 3.8+.
  • The strict aliasing warning does not trigger and is no longer required.

Finally a missed missing initialization was fixed.

@andypugh andypugh merged commit b680abc into LinuxCNC:master Jan 24, 2025
10 checks passed
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