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

ptrdiff_t’ undeclared (first use in this function) #237

Closed
DwaineGarden opened this issue Dec 7, 2019 · 2 comments
Closed

ptrdiff_t’ undeclared (first use in this function) #237

DwaineGarden opened this issue Dec 7, 2019 · 2 comments

Comments

@DwaineGarden
Copy link
Contributor

Getting the following error when compiling the latest from the top of dev branch.

Scanning dependencies of target kissutil
[ 8%] Building C object src/CMakeFiles/kissutil.dir/kissutil.c.o
/usr/src/direwolf/src/kissutil.c: In function ‘main’:
/usr/src/direwolf/src/kissutil.c:299:65: error: ‘ptrdiff_t’ undeclared (first use in this function)
e = pthread_create (&tnc_tid, NULL, tnc_listen_net, (void *)(ptrdiff_t)99);

@dranch
Copy link
Collaborator

dranch commented Dec 7, 2019

We need more details here. What kind of computer, what OS, OS version, which compiler version, etc ?

@wb2osz
Copy link
Owner

wb2osz commented Dec 7, 2019

This has been fixed in the dev branch.

@wb2osz wb2osz closed this as completed Dec 7, 2019
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

No branches or pull requests

3 participants