Skip to content

ENT-13084: Fixed implicit declaration of GNU extension gettid #1779

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

Closed
wants to merge 1 commit into from

Conversation

larsewi
Copy link
Contributor

@larsewi larsewi commented Jun 26, 2025

Fixes current compilation error (found on Ubuntu 24):

23:16:48 log.c:637:21: error: implicit declaration of function 'gettid'; did you mean 'getgid'? [-Wimplicit-function-declaration]
23:16:48   637 |         pid_t tid = gettid();
23:16:48       |                     ^~~~~~
23:16:48       |                     getgid

Ticket: ENT-13084
Signed-off-by: Lars Erik Wik [email protected]

Back-ported to:

@larsewi larsewi changed the title Fixed implicit declaration of GNU extension gettid ENT-13084: Fixed implicit declaration of GNU extension gettid Jun 26, 2025
@larsewi
Copy link
Contributor Author

larsewi commented Jun 26, 2025

Build on Ubuntu 24 (no tests)
Build Status

Verified

This commit was signed with the committer’s verified signature.
larsewi Lars Erik Wik
Fixes current compilation error (found on Ubuntu 24):

```
23:16:48 log.c:637:21: error: implicit declaration of function 'gettid'; did you mean 'getgid'? [-Wimplicit-function-declaration]
23:16:48   637 |         pid_t tid = gettid();
23:16:48       |                     ^~~~~~
23:16:48       |                     getgid
```

Ticket: ENT-13084
Signed-off-by: Lars Erik Wik <[email protected]>
@larsewi
Copy link
Contributor Author

larsewi commented Jun 30, 2025

Will add as part of #1770

@larsewi larsewi closed this Jun 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant