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 compilation with GCC14 #129

Merged
merged 1 commit into from
Jun 9, 2024
Merged

fix compilation with GCC14 #129

merged 1 commit into from
Jun 9, 2024

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Jun 9, 2024

the msghdr has padding in both glibc and musl. Initialize with names to avoid dealing with the padding.

There's also a wrong struct type that's an error now.

the msghdr has padding in both glibc and musl. Initialize with names to
avoid dealing with the padding.

There's also a wrong struct type that's an error now.

Signed-off-by: Rosen Penev <[email protected]>
@neheb
Copy link
Contributor Author

neheb commented Jun 9, 2024

src/gpsdclient.h:67:24: error: field ‘source’ has incomplete type
   67 |     struct fixsource_t source;

this is not related.

@PolynomialDivision PolynomialDivision merged commit d72be9a into OLSR:master Jun 9, 2024
1 check failed
@neheb neheb deleted the gcc14 branch June 9, 2024 23:39
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