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 build failure on gcc 15.0.1 #31

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

jbruechert
Copy link
Contributor

g++ fails with

route.cc:296:1: error: dangling pointer to an unnamed temporary may be used [-Werror=dangling-pointer=]

I'm not entirely convinced that the diagnostic actually makes sense, but
this at least allows building again.

g++ fails with
```
route.cc:296:1: error: dangling pointer to an unnamed temporary may be used [-Werror=dangling-pointer=]
```

I'm not entirely convinced that the diagnostic actually makes sense, but
this at least allows building again.
@felixguendling felixguendling merged commit b4e70d6 into motis-project:master Mar 3, 2025
10 of 11 checks passed
@felixguendling
Copy link
Member

Looks like a false positive. If this triggers too often, we'll have to disable the diagnostic.

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