Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update g6lib.c #1072

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Update g6lib.c #1072

merged 1 commit into from
Sep 12, 2024

Conversation

rieder
Copy link
Member

@rieder rieder commented Sep 11, 2024

Fixes issue encountered with GCC 14.1:

g6lib.c:112:8: error: return type defaults to 'int' [-Wimplicit-int]
  112 | inline clear_i_particle(g6_i_particle * particle) {
      |        ^~~~~~~~~~~~~~~~
make: *** [g6lib.o] Error 1

Fixes issue encountered with GCC 14.1:
```
g6lib.c:112:8: error: return type defaults to 'int' [-Wimplicit-int]
  112 | inline clear_i_particle(g6_i_particle * particle) {
      |        ^~~~~~~~~~~~~~~~
make: *** [g6lib.o] Error 1
```
@rieder rieder requested a review from a team as a code owner September 11, 2024 13:51
Copy link
Collaborator

@LourensVeen LourensVeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. I've seen this as a warning I think, and maybe with Clang as well. Nice to finally have it fixed!

@rieder rieder merged commit ba52f0f into main Sep 12, 2024
5 checks passed
@rieder rieder deleted the rieder-patch-1 branch September 12, 2024 13:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants