Skip to content

Conversation

@danmar
Copy link
Owner

@danmar danmar commented Oct 8, 2023

The replacements should be platform dependent. And I am skeptic that i.e. UINT32_C(10L) should be replaced with 10LUL i.e. making it a long long.

…ements should be platform dependent. And I am skeptic that i.e. UINT32_C(10L) should be replaced with 10LUL i.e. making it a long long.
@danmar
Copy link
Owner Author

danmar commented Oct 8, 2023

@danmar danmar merged commit cc44966 into danmar:main Oct 8, 2023
@danmar danmar deleted the remove-wrong-standard-macro-replacements branch October 8, 2023 12:49
@firewave
Copy link
Collaborator

firewave commented Oct 8, 2023

This will break existing code and we have probably have lots of such cases where wrong value are being used. See #5414 for work going more towards the platform stuff.

Also we need proper tests for this.

We also have lots of fixed/implementation-based stuff in our configurations which should not be in-there as they do not reflect what is actually used on the system.

@firewave
Copy link
Collaborator

firewave commented Oct 8, 2023

This will break existing code

Okay, breakage is unlikely as this was previously not defines for all configuration but only avr.

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