Skip to content

ENT-13084: Fixed implicit declaration of GNU extension gettid (3.24.x) #1780

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

Draft
wants to merge 1 commit into
base: 3.24.x
Choose a base branch
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]
(cherry picked from commit 5057687)

Back-ported from #1779

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

larsewi commented Jun 26, 2025

Build on Ubuntu 24 (no tests)
Build Status

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]>
(cherry picked from commit a42746b)
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.

1 participant