Summary: | u_thread.h:64:39: error: too many arguments to function call, expected 1, have 2 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Other | Assignee: | Matt Turner <mattst88> |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | mattst88 |
Version: | git | Keywords: | bisected, regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Mac OS X (All) | ||
URL: | https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1533 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2019-07-31 02:55:35 UTC
Looking at the man page (http://man7.org/linux/man-pages/man3/pthread_setname_np.3.html), pthread_setname_np definitely takes two parameters. Dare I even ask what pthreads library this is? /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/pthread.h 512 __API_AVAILABLE(macos(10.6), ios(3.2)) 513 int pthread_setname_np(const char*); Aggravatingly, Mac OS's version takes only one parameter it seems. See https://gitlab.haskell.org/ghc/ghc/issues/9684 for example of other projects running into this. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.