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

sync #6

Merged
merged 17 commits into from
Dec 12, 2024
Merged

sync #6

merged 17 commits into from
Dec 12, 2024

Conversation

bunty95
Copy link
Owner

@bunty95 bunty95 commented Dec 12, 2024

No description provided.

omircon and others added 17 commits November 20, 2024 09:51
Without them we had incomplete types.
This is needed, because dlt_common.c includes `<QtGlobal>` which includes
implicitly `<qtypes.h>` which contains
```
static_assert(sizeof(ptrdiff_t) == sizeof(size_t), "Weird ptrdiff_t and size_t definitions");
...
```
But `static_assert` in C is available only from c11 standard.
Though this is working with clang, but not with gcc compiler, so we set
the standard explicitly to c11.
Signed-off-by: Viktor Kopp <[email protected]>
- Fix couple of warnings
- Minor cleanup of dead code
- Const-correctness for a couple of funcs

Signed-off-by: Viktor Kopp <[email protected]>
We are looping over messages which satisfy this condition
since they were filtered in indexer, see
DltFileIndexerThread::processMessage method

Signed-off-by: Viktor Kopp <[email protected]>
Use new EcuItem::find method where possible

Signed-off-by: Viktor Kopp <[email protected]>
Signed-off-by: Alexander Wenzel <[email protected]>
Signed-off-by: Alexander Wenzel <[email protected]>
* Add missing includes

Without them we had incomplete types.

* Set C standard to c11

This is needed, because dlt_common.c includes `<QtGlobal>` which includes
implicitly `<qtypes.h>` which contains
```
static_assert(sizeof(ptrdiff_t) == sizeof(size_t), "Weird ptrdiff_t and size_t definitions");
...
```
But `static_assert` in C is available only from c11 standard.
Though this is working with clang, but not with gcc compiler, so we set
the standard explicitly to c11.
Signed-off-by: Alexander Wenzel <[email protected]>
@bunty95 bunty95 merged commit 1afdc8e into bunty95:master Dec 12, 2024
4 of 6 checks passed
@bunty95 bunty95 deleted the update branch December 12, 2024 10:30
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.

4 participants