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

mac安装报错 #120

Open
xhun2015 opened this issue Dec 25, 2020 · 0 comments
Open

mac安装报错 #120

xhun2015 opened this issue Dec 25, 2020 · 0 comments

Comments

@xhun2015
Copy link

uuid_time2.c:75:3: error: implicitly declaring library function 'exit' with type 'void (int) attribute((noreturn))' [-Werror,-Wimplicit-function-declaration]
exit(1);
^
uuid_time2.c:75:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
uuid_time2.c:112:54: warning: format specifies type 'long' but the argument has type '__darwin_suseconds_t' (aka 'int') [-Wformat]
printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, tv.tv_usec,
~~~ ^~~~~~~~~~
%d
1 warning and 1 error generated.
make: *** [uuid_time2.o] Error 1

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

1 participant