Skip to content

resolve all compiler warnings #87

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

Conversation

chunchenhsu
Copy link

Add missing declarations in linux_stubs.h for 3 functions:
pthread_mach_thread_np, mach_error_string and mach_vm_deallocate

For empty struct warning from mach_msg_header_t defined in linux_stubs.h,
I suppress the warning by add -Wno-extern-c-compat

Add missing declarations in linux_stubs.h for 3 functions:
pthread_mach_thread_np, mach_error_string and mach_vm_deallocate

For empty struct warning from mach_msg_header_t defined in linux_stubs.h,
I suppress the warning by add -Wno-extern-c-compat
@MadCoder
Copy link
Contributor

no, this isn't the right way, none of these functions should be called on linux, so the code should be compiled out. #86 is already doing work in that direction, this work is directly conflicting.

@MadCoder MadCoder closed this Jun 17, 2016
@chunchenhsu chunchenhsu deleted the resolve_compiler_warnings branch June 21, 2016 00:44
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

Successfully merging this pull request may close these issues.

2 participants